无法申请进程槽

发布于 2024-11-05 03:25:44 字数 1075 浏览 0 评论 0原文

我的网络服务器有问题。我没有对 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

把梦留给海 2024-11-12 03:25:44

根据页面:

修复方法很简单。就我而言,这是一个
简单的 chmod 755 /var/log/httpd,其中
允许 Apache 实际读取其日志
目录!改变之前,我是
得到“服务不可用”
[warn] mod_fcgid 的日志错误:不能
为 [dispatch.fcgi 申请进程槽
完整路径]。现在可以了!

According to this page:

The fix is simple. In my case it was a
simple chmod 755 /var/log/httpd, which
allows Apache to actually read its log
directory! Before the change, I was
getting “Service Unavailable” with a
log error of [warn] mod_fcgid: can’t
apply process slot for [dispatch.fcgi
full path]. Now it works!

居里长安 2024-11-12 03:25:44

是的,

但似乎此处未遵守 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文