最近我的服务器开始消耗更多内存。运行流程变为500多个。在过去的一年里,我从来没有想过这件事。我有VPS / 2GB / Ubuntu / Virtualmin。
Apache有MaxClients 256
和默认ServerLimit
(256)。最大用户进程数(ulimit -u
)为15891。
错误日志文件/var/log/virtualmin
:
mod_fcgid: can't apply process slot for /home/seekdl/fcgi-bin/php5.fcgi
/var/log/apache2
:
server reached MaxClients setting, consider raising the MaxClients setting
[Sat Oct 27 17:17:25 2012] [error] FastCGI process 11916 still did not exit, terminating forcefully
[Sat Oct 27 17:17:25 2012] [error] FastCGI process 12374 still did not exit, terminating forcefully
[Sat Oct 27 17:17:25 2012] [error] FastCGI process 11918 still did not exit, terminating forcefully