Hy, i have a Modx 2.1.1 Site and try to reduce the CPU usage and loading time. I have a full cached site, snippets and chunks are cached, only lexicon files are not cached. But the cpu usage is between 20 and 30% on pageload. It is a DUal Core 2,6ghz Server with 6GB Ram with Centos 6 64Bit. How can i reduce the CPU usage and the time the site needs to answer. 1 Second is slow i think for a site that is full cached by modx.
Here are some more Infos
PHP 5.3.2
Mysql 5.1.52
Modx Reo 2.1.1
No getResource using
No phpthumb using
modx_site_content / Resources 48.980
modx_tmplvar_contentvalues / TV Values 200.824
There are no other sites on the server.
Site is running fine, but 20% CPU on cached an 80% on uncached site is to much for on single user.
Hope this helps. Is there any tool i can install on server to cache more of modx self? Cache classes modx use everytime i load a page?
Thanks
skycryer
[ed. note: skycryer last edited this post 15 years ago.]
You can use APC to reduce load and increase performance. Please also list all used snippets.
If i am right APC is a php tool, is it? Because while search for it i found manual on php.net. How can i activate it for my Modx installation?
All snippets? Hm that are over 150 Snippets, most by myself. Is it better to tell you what packages are installed?