Welcome! Log In Create A New Profile

Advanced

php-fpm graceful reload, really ?

Posted by chatov 
php-fpm graceful reload, really ?
January 26, 2014 02:26PM
Hi,

I have an app using Nginx/php-fpm which make long request, 1 minutes sometimes and sometimes my app have to do the command /etc/init.d/php5-fpm reload under Debian Wheezy, it send a USR 2 signal and the active connections and not supposed to be closed but it does'nt work, i immediately have this in nginx logs :

[error] 245639#0: *168 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1,

Does someone have a possible solution for this ?

Thank you,
Re: php-fpm graceful reload, really ?
November 03, 2015 03:49AM
php-fpm bug

https://bugs.php.net/bug.php?id=60961
Re: php-fpm graceful reload, really ?
February 02, 2018 01:06PM
why don't you upgrade to php 7.XX
Re: php-fpm graceful reload, really ?
December 19, 2018 04:30AM
PHP 7.x has the same problem.

I tried 7.2.11 and 7.1.23.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready