Bug #74083 [PATCH]: master PHP-fpm is stopped on multiple reloads

From: Date: Wed, 24 Jul 2019 10:07:36 +0000
Subject: Bug #74083 [PATCH]: master PHP-fpm is stopped on multiple reloads
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221919@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74083&edit=1 ID: 74083 Patch added by: mnikulin@plesk.com Reported by: afalaleev at plesk dot com Summary: master PHP-fpm is stopped on multiple reloads Status: Open Type: Bug Package: FPM related Operating System: CentOS 7.x PHP Version: 7.1.1 Block user comment: N Private report: N New Comment: The following pull request has been associated: Patch Name: Block signals during fpm master initialization On GitHub: https://github.com/php/php-src/pull/4471 Patch: https://github.com/php/php-src/pull/4471.patch Previous Comments: ------------------------------------------------------------------------ [2019-02-20 03:59:57] mnikulin at plesk dot com Related To: Bug #76601 ------------------------------------------------------------------------ [2018-10-16 11:03:02] mnikulin at plesk dot com Related To: Bug #76895 ------------------------------------------------------------------------ [2018-10-16 04:53:07] mnikulin at plesk dot com I have refreshed the patch. I recommend to apply patches for #76601 on the top of it. It is made for 7.2.11 but can be applied to 7.1.23, 7.0.32, and 5.6.38 as well. ------------------------------------------------------------------------ [2018-07-11 08:28:40] mnikulin at plesk dot com It seems that combining the attached patch with the one from https://bugs.php.net/bug.php?id=76601 helps in the case of concurrent reload SIGUSR2 signals. At least it may be considered as quick plumbing. ------------------------------------------------------------------------ [2018-07-10 10:44:37] mnikulin at plesk dot com Let's start discussion in which way this bug can be fixed with a patch that uses sigprocmask() to block other reload signals during execvp() and early initialization. Do not use it in production. Instead of simply dead processes you may get more peculiar state described in https://bugs.php.net/bug.php?id=76601 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=74083 -- Edit this bug report at https://bugs.php.net/bug.php?id=74083&edit=1

« previous php.bugs (#221919) next »