日期:2014-05-17  浏览次数:20908 次

apache2.2(fcgi),压力大时报错,日志提示mod_fcgid: too much draftSave.fcgi process(current:10
apache2.2(fcgi),压力大时报错,
日志提示:
[Thu Aug 13 20:57:45 2009] [notice] mod_fcgid: too much /home/aimcpro10/aimcpro/apache/fcgi-bin/draftSave.fcgi process(current:100, max:100), skip the spawn request
[Thu Aug 13 20:57:45 2009] [notice] mod_fcgid: too much /home/aimcpro10/aimcpro/apache/fcgi-bin/draftSave.fcgi process(current:100, max:100), skip the spawn request
[Thu Aug 13 20:57:45 2009] [notice] mod_fcgid: too much /home/aimcpro10/aimcpro/apache/fcgi-bin/draftSave.fcgi process(current:100, max:100), skip the spawn request

httpd.conf 相关参数配置如下:

ServerLimit 1500
startServers 50
MinSpareServers 20
MaxSpareServers 30
MaxClients 1500
MaxRequestsPerChild 10000

各位大哥,是否遇到过类似问题?在线等。。。。。。。。。。

------解决方案--------------------
没遇到过。
看上去好像是 mod_fcgid 的配置问题,能否把有关 mod_fcgid 的配置贴上来看看?
------解决方案--------------------
看看fcgi配置的ProcessCount是不是100,改大点,根据你的ServerLimit配置,1500比较合适,或者把ServerLimit改成100。

ServerLimit 1500是不是太大了,你确认你单台机器打算支持1500个并发连接?有点夸张。