无法申请进程槽
我的网络服务器有问题。我没有对 Apache 配置进行任何更改,当我收到这些 500 错误代码时,我只是在网站上工作(typo3 FYI)。其他网站运行良好。难道这是一个一次性错误,然后 apache 决定“我不再喜欢你了”?
[Tue May 03 15:44:47 2011] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Tue May 03 16:00:02 2011] [warn] mod_fcgid: can't apply process slot for /home/<customer>/public_html/typo3/ajax.php
[Tue May 03 16:00:08 2011] [warn] mod_fcgid: can't apply process slot for /home/<customer>/public_html/index.php
[Tue May 03 16:00:38 2011] [warn] mod_fcgid: can't apply process slot for /home/<customer>/public_html/index.php
[Tue May 03 16:00:42 2011] [warn] mod_fcgid: can't apply process slot for /home/<customer>/public_html/index.php
[Tue May 03 16:01:00 2011] [warn] mod_fcgid: can't apply process slot for /home/<customer>/public_html/index.php
and so on...
我的 fcgid.conf
<IfModule mod_fcgid.c>
MaxProcessCount 100
AddHandler fcgid-script .fcgi
IPCConnectTimeout 20
</IfModule>
会重新启动(生产)服务器来解决问题吗?
I've got a problem with a webserver. I did change nothing on the Apache config, I was just working on the site (typo3 FYI) when I got these 500 Error codes. Other websites are running fine. Could it be that it was a one-time error and apache then decided "I dont like you anymore"?
[Tue May 03 15:44:47 2011] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Tue May 03 16:00:02 2011] [warn] mod_fcgid: can't apply process slot for /home/<customer>/public_html/typo3/ajax.php
[Tue May 03 16:00:08 2011] [warn] mod_fcgid: can't apply process slot for /home/<customer>/public_html/index.php
[Tue May 03 16:00:38 2011] [warn] mod_fcgid: can't apply process slot for /home/<customer>/public_html/index.php
[Tue May 03 16:00:42 2011] [warn] mod_fcgid: can't apply process slot for /home/<customer>/public_html/index.php
[Tue May 03 16:01:00 2011] [warn] mod_fcgid: can't apply process slot for /home/<customer>/public_html/index.php
and so on...
my fcgid.conf
<IfModule mod_fcgid.c>
MaxProcessCount 100
AddHandler fcgid-script .fcgi
IPCConnectTimeout 20
</IfModule>
would restart the (production-)server solve the problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据此页面:
According to this page:
是的,
但似乎此处未遵守 maxProcessCount 规则
http://www.apachelounge.com/viewtopic.php?t=2563
如果您读到您看到的内容,您可以设置一个变量以确保它确实有效
Yes,
But It appears the maxProcessCount rule is not honored found here
http://www.apachelounge.com/viewtopic.php?t=2563
If you read that you see you can set a variable to ensure it does