Edit report at http://bugs.php.net/bug.php?id=52050&edit=1
ID: 52050
User updated by: marcus at adolfsson dot com
Reported by: marcus at adolfsson dot com
Summary: PHP-FPM Dies after self-initiating reload
-Status: Feedback
+Status: Open
Type: Bug
Package: FPM related
Operating System: fc7
PHP Version: 5.3.2
Assigned To: fat
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[2010-06-17 19:12:30] [email protected]
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] [email protected]
Can you also provide the libevent version and the OS you're using.
Thanks
------------------------------------------------------------------------
[2010-06-11 16:27:49] marcus at adolfsson dot com
ldd /usr/sbin/php-fpm
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003a83000000)
libaspell.so.15 => /usr/lib64/libaspell.so.15 (0x0000003a86000000)
libpspell.so.15 => /usr/lib64/libpspell.so.15 (0x0000003a86400000)
librt.so.1 => /lib64/librt.so.1 (0x0000003a81800000)
libmysqlclient.so.15 => /usr/lib64/mysql/libmysqlclient.so.15
(0x00000036a3600000)
libmcrypt.so.4 => /usr/lib64/libmcrypt.so.4 (0x000000357ba00000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00000036a3200000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00000036a3e00000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00000035af400000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x0000003a87000000)
libcurl.so.3 => /usr/lib64/libcurl.so.3 (0x00000035af800000)
libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x0000003a85400000)
libpcre.so.0 => /lib64/libpcre.so.0 (0x00000035b0400000)
libm.so.6 => /lib64/libm.so.6 (0x0000003a80c00000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003a80800000)
libevent-1.4.so.1 => /usr/local/lib/libevent-1.4.so.1
(0x00002aaaaaac3000)
libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00000036a2e00000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2
(0x0000003a84400000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x0000003a83400000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x0000003a83c00000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003a82800000)
libssl.so.6 => /lib64/libssl.so.6 (0x00000035afc00000)
libcrypto.so.6 => /lib64/libcrypto.so.6 (0x00000035b0800000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003a82c00000)
libidn.so.11 => /usr/lib64/libidn.so.11 (0x0000003a82000000)
libc.so.6 => /lib64/libc.so.6 (0x0000003a80400000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003a84000000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003a84c00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a81000000)
/lib64/ld-linux-x86-64.so.2 (0x0000003a80000000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003a82400000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0
(0x0000003a84800000)
------------------------------------------------------------------------
[2010-06-11 16:10:16] [email protected]
Please also show the output of `ldd /path/to/php-fpm`. 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
http://bugs.php.net/bug.php?id=52050
--
Edit this bug report at http://bugs.php.net/bug.php?id=52050&edit=1