Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have found this error on my NGINX error.log:

2011/05/09 23:33:52 [error] 22145#0: *1158 recv() failed (104: Connection reset by peer) while reading response header from upstream, client:, server: *, request: "GET / HTTP/1.1", upstream: "fastcgi://", host: ""

What does it mean? is probably a php-fpm problem?

share|improve this question
Is there just one or few of these errors and your site is in general working OK, or is it mostly broken? – af. May 9 '11 at 23:23
@af fortunately only few times – Dail May 10 '11 at 7:19
Yes, but I do not understand why Nginx can't connect to ... I see the port is listening (php-fpm). – user80948 May 10 '11 at 8:36
It was able to connect. If you read the error message, the connection was closed while nginx was trying to read the response headers, which means it had connected and sent the request to php successfully. Are you logging php errors? Perhaps you should look there. – kolbyjack May 10 '11 at 12:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.