Also working for me is adding these lines to /etc/apache2/mods-enabled/fcgid.conf:
Code:
FcgidMaxProcesses 3
FcgidMaxProcessesPerClass 3
FcgidMinProcessesPerClass 1
This results in less php-cgi processes. It's good to keep in mind though that the FcgidMinProcessesPerClass seems to override the FcgidMaxProcesses (afaik). In my case having 5 websites configured with suexec (and require a different user php-cgi start) still results in 5 processes. Good thing about this, is that requests do not have to wait for other processes to be quit. But if you run many websites this still may still result in many php-cgi processes.
And in apache2.conf:
in the <IfModule mpm_worker_module> section.
More info about configuring for low memory over here:
http://blog.fosketts.net/2010/07/30/...rivate-server/
Recent comments
18 hours 48 min ago
23 hours 47 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 3 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
2 days 25 min ago
2 days 2 hours ago