通过对等方重置连接:FastCGI:服务器中止的comm:读取失败

时间:2014-05-27 11:17:39

标签: fastcgi

在我的专用服务器(Debian)上使用FastCGI。

我现在有以下错误,有时候(总随机行为!!)。 导致白页(错误500)。

[Tue May 27 13:02:09 2014] [错误] [client 85.68.183.29](104)通过对等方重置连接:FastCGI:comm with server" /var/www/php5.external" ;中止:读取失败,引用:[...] [Tue May 27 13:02:09 2014] [error] [client 85.68.183.29] FastCGI:从服务器收到的不完整标题(0字节)" /var/www/php5.external" ;, referer:[ ...]

我找不到与此相关的任何其他错误(任何PHP细节,MySQL SQL错误,没有别的!!!)。

有什么想法可以防止这个丑陋的虫子? 我应该回到mod-php5 ??

2 个答案:

答案 0 :(得分:2)

您可以尝试按照此页面上的建议操作:https://groups.google.com/d/msg/highload-php-en/4F79Pco-2eg/_tfPMiLFzg4J

复制此处以供参考:

  

在" FastCgiExternalServer"上使用-idle-timeout参数行解决   这个问题。

     

我的FastCgiExternalServer行:FastCgiExternalServer   / var / run / fastcgi / USERNAME-fcgi -appConnTimeout 10 -idle-timeout 250   -socket /var/run/fastcgi/USERNAME.socket -pass-header授权

     

mod_fastcgi doc中的更多信息:   http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html

答案 1 :(得分:0)

我也遇到了这个问题。我发现存在一些递归依赖性,导致没有足够的可用内存。解决递归依赖性解决了该问题。