Bug #65584 [Opn->Fbk]: recv() failed (104: Connection reset by peer) while reading response ...

From: Date: Thu, 29 Aug 2013 15:17:45 +0000
Subject: Bug #65584 [Opn->Fbk]: recv() failed (104: Connection reset by peer) while reading response ...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-181316@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65584&edit=1

 ID:                 65584
 Updated by:         laruence@php.net
 Reported by:        michael dot heuberger at binarykitchen dot com
 Summary:            recv() failed (104: Connection reset by peer) while
                     reading response ...
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            FPM related
 Operating System:   Ubuntu 13.04
 PHP Version:        5.5.3
 Block user comment: N
 Private report:     N

 New Comment:

seems your php-fpm is crashing, you need try to get a backtrace.. 

http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32


and you could also try to test with the latest snapshot of php-5.5 branch: 
http://snaps.php.net/php5.4-latest.tar.gz


Previous Comments:
------------------------------------------------------------------------
[2013-08-29 13:43:31] michael dot heuberger at binarykitchen dot com

Description:
------------
Hi there

I recently apt-get upgraded my PHP disto on my server, adjusted, tested few lines of the current
website but there is one last problem: PHP-FPM crashes always. With these log lines in NGINX:

2013/08/30 01:34:06 [error] 12282#0: *51 recv() failed (104: Connection reset by peer) while reading
response header from upstream, client: 78.10.247.202, server: binarykitchen.com, request: "GET
/user/register/action/why/language/de/ HTTP/1.0", upstream:
"fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.binarykitchen.com",
referrer: "http://www.binarykitchen.com/user/register/action/why/language/de/"

There are many of those. Sometimes the page loads, sometimes not.

I tried hard to adjust nginx and php-fpm but no success. I am using sockets.

Tell me, how can I see what is exactly resetting the connection? Why it is crashing? What commands
should I try?

And here more details:

$ php -v
PHP 5.5.3-1+debphp.org~raring+2 (cli) (built: Aug 27 2013 09:16:12) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
    with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies

Thanks for your help,
Michael



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=65584&edit=1


Thread (24 messages)

« previous php.bugs (#181316) next »