Hello,
I run one eshopping website + WordPress Blog on a VPS.
I just notice that on this server (16CPU), MPM_Worker is faster than Prefork.
But for RAM usage, I have a lot of /usr/bin/php running each 5MB of ram everytimes !
Memory Used 64.8 %
Server Load 0.23 (16 cpus)
My current config is :
Apache :
FCGID :Code:TraceEnable Off ServerSignature Off ServerTokens ProductOnly FileETag None StartServers 2 <IfModule prefork.c> MinSpareServers 3 MaxSpareServers 8 </IfModule> MaxClients 15 MaxRequestsPerChild 500 ThreadsPerChild 3
mod_fcgid status:Code:<IfModule mod_fcgid.so> # Maximum number of PHP processes MaxProcessCount 4 # Number of seconds of idle time before a php-cgi process is terminated IPCCommTimeout 200 IdleTimeout 60 IdleScanInterval 60 </IfModule>
Code:Total FastCGI processes: 7 Process name: php5 Pid Active Idle Accesses State 32639 443 6 30 Ready 18131 694 122 95 Ready 32472 444 135 21 Ready Process name: php5 Pid Active Idle Accesses State 15955 203 123 10 Ready 23663 610 122 20 Ready 15969 201 201 1 Ready 15960 203 188 4 Ready
How could I reduce PHP idle ? and PHP footprint ?
Thanks !



LinkBack URL
About LinkBacks
Reply With Quote




