mod_fcgid:ap_pass_brigade在handle_request函数失败 [英] mod_fcgid: ap_pass_brigade failed in handle_request function

查看:421
本文介绍了mod_fcgid:ap_pass_brigade在handle_request函数失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在我的错误日志得到警告:

I keep on getting warning in my error logs:

(103)Software caused connection abort: mod_fcgid: ap_pass_brigade failed in handle_request function 

下面是我的fcgid.conf

Here is my fcgid.conf

<IfModule mod_fcgid.c>
SocketPath /var/lib/httpd/fcgid/sock
IdleTimeout 200
IdleScanInterval 200
ProcessLifeTime 1000
MaxProcessCount 1000
DefaultMinClassProcessCount 3
DefaultMaxClassProcessCount 100
IPCConnectTimeout 8
IPCCommTimeout 200
BusyTimeout 300
</IfModule>

服务器在一段时间曾经提供了一个500错误,然后是pretty快速一会儿,然后担任了另外500错误...反正有情况发生?

The server serves up a 500 error once in a while, then is pretty speedy for a while, then serves up another 500 error... Is there anyway to stop this from happening?

推荐答案

在默认情况下的FastCGI处理后,500个请求退出。您可以提高PHP_FCGI_MAX_REQUESTS(在包装)或限制FcgidMaxRequestsPerProcess为500。

By default FastCGI processes exit after 500 requests. You can either raise PHP_FCGI_MAX_REQUESTS (in the wrapper) or limit FcgidMaxRequestsPerProcess to 500.

请参阅http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#examples 特殊的PHP方面的考虑

See http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#examples "Special PHP considerations"

这篇关于mod_fcgid:ap_pass_brigade在handle_request函数失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆