通过对阿帕奇PHP5-FPM连接重置 [英] Apache PHP5-FPM connection reset by peer

查看:326
本文介绍了通过对阿帕奇PHP5-FPM连接重置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

像这样的事情一直在我Apache日志弹出。我怎么能去对未来调试这个和/或preventing这样的:


  1. (104)连接被对方​​复位:FastCGI的:通讯与服务器/var/www/php5.external中止:读失败


  2. 的FastCGI:不完整的标题(0字节)从服务器接收到/var/www/php5.external


  3. (4)被中断的系统调用:FastCGI的:通讯与服务器/var/www/php5.external中止:选择()失败



解决方案

在关系到你的选择()失败错误也可能是别人,请检查您的libapache2-MOD-fastcgi的版本有一些问题,也一直很打补丁。

升级中的libapache2-MOD-的FastCGI从2.4.6到2.4.7似乎来纠正这个问题。

在此处了解详情:

http://geektank.net/2008/11 / FastCGI的-和可怕的 - 流产 - 选择 - 失败/

<一个href=\"http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/3de22bc415d3da02?pli=1\" rel=\"nofollow\">http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/3de22bc415d3da02?pli=1

不过,我不知道什么OS / Apache的版本你都在用,但希望这可以帮助你解决这些问题。

Things like this keep popping up in my apache logs. How can I go about debugging this and/or preventing this in the future:

  1. (104)Connection reset by peer: FastCGI: comm with server "/var/www/php5.external" aborted: read failed

  2. FastCGI: incomplete headers (0 bytes) received from server "/var/www/php5.external",

  3. (4)Interrupted system call: FastCGI: comm with server "/var/www/php5.external" aborted: select() failed

解决方案

In relation to your "select() failed" error and possibly the others, check your version of libapache2-mod-fastcgi There were some issues that have since been patched.

Upgrading libapache2-mod-fastcgi from 2.4.6 to 2.4.7 seems to rectify this issue.

More info here:

http://geektank.net/2008/11/fastcgi-and-dreaded-aborted-select-failed/

http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/3de22bc415d3da02?pli=1

However, I'm not sure what OS/Apache version you are using, but hopefully this helps you solve these issues.

这篇关于通过对阿帕奇PHP5-FPM连接重置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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