Bug #52050 [Fbk->Csd]: PHP-FPM Dies after self-initiating reload
| From: | fat@php.net | Date: | Sat, 08 Oct 2011 14:22:40 +0000 |
| Subject: | Bug #52050 [Fbk->Csd]: PHP-FPM Dies after self-initiating reload | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-164150@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=52050&edit=1
ID: 52050
Updated by: fat@php.net
Reported by: marcus at adolfsson dot com
Summary: PHP-FPM Dies after self-initiating reload
-Status: Feedback
+Status: Closed
Type: Bug
Package: FPM related
Operating System: fc7
PHP Version: 5.3.2
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2010-06-17 20:28:41] fat@php.net
You can try to simulate a self-initiating reload by setting:
emergency_restart_threshold = 1
emergency_restart_interval = 10s
and kill -7 on one child process
------------------------------------------------------------------------
[2010-06-17 19:58:53] marcus at adolfsson dot com
Manual reloads are successful
Jun 17 13:54:25.047532 [NOTICE] reloading: execvp("/usr/sbin/php-fpm",
{"/usr/sbin/php-fpm", "--fpm-config", "/etc/php-fpm.conf"})
Jun 17 13:54:25.084632 [NOTICE] using inherited socket fd=14, "127.0.0.1:9000"
Jun 17 13:54:25.084986 [NOTICE] fpm is running, pid 2564
Is there a way to force the self-initiating reload to occur for testing purposes?
------------------------------------------------------------------------
[2010-06-17 19:12:30] fat@php.net
I can't reproduce the problem.
I tried to compile 5.3snap on rhel 5 server with libevent 1.1.14 and I have no
problems.
Two questions:
1- does the bug appear when sending a USR2 signal to the master process
(reloading) ?
2- Can you compile the static modules (mysql, pspell, ...) as shared modules so
that you will be able to run FPM without any module to check if there is no bugs
running a specific module with FPM.
------------------------------------------------------------------------
[2010-06-14 16:11:13] marcus at adolfsson dot com
Fedora Core 7, libevent-1.4.14-stable
------------------------------------------------------------------------
[2010-06-13 13:02:12] fat@php.net
Can you also provide the libevent version and the OS you're using. Thanks
------------------------------------------------------------------------
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=52050
--
Edit this bug report at https://bugs.php.net/bug.php?id=52050&edit=1