Bug #54044 [Fbk->Csd]: fpm fails to respawn php
Edit report at https://bugs.php.net/bug.php?id=54044&edit=1
ID: 54044
Updated by: fat@php.net
Reported by: slim at inbox dot lv
Summary: fpm fails to respawn php
-Status: Feedback
+Status: Closed
Type: Bug
Package: FPM related
Operating System: linux
PHP Version: 5.3.5
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
this is not related to FPM. Please view on the IMAP side.
Previous Comments:
------------------------------------------------------------------------
[2011-07-02 13:57:10] fat@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Is it possible for you to test without FPM (with php-cgi or mod_php for apache)
please ?
I'd like to first ensure the bug is exclusively related to FPM.
thx
------------------------------------------------------------------------
[2011-02-18 11:34:31] slim at inbox dot lv
Description:
------------
after php segfaults on imap
Core was generated by `php-fpm: pool www '.
Program terminated with signal 9, Killed.
#0 0xaf8b1768 in main_arena () from /lib/libc.so.6
(gdb) bt
#0 0xaf8b1768 in main_arena () from /lib/libc.so.6
#1 0x084f1ac1 in mail_close_full ()
#2 0x081c1633 in mail_close_it (rsrc=0x8d88290) at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/ext/imap/php_imap.c:606
#3 0x084152b2 in list_entry_destructor (ptr=0x8d88290)
at /var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/Zend/zend_list.c:184
#4 0x08412b03 in zend_hash_apply_deleter (ht=0x8a51cec, p=0x8d48be4)
at /var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/Zend/zend_hash.c:614
#5 0x08412cb1 in zend_hash_graceful_reverse_destroy (ht=0x8a51cec)
at /var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/Zend/zend_hash.c:649
#6 0x08415498 in zend_destroy_rsrc_list (ht=0x8a51cec)
at /var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/Zend/zend_list.c:240
#7 0x0840325e in zend_deactivate () at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/Zend/zend.c:896
#8 0x0838e532 in php_request_shutdown (dummy=0x0) at
/var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/main/main.c:1633
#9 0x084db7db in main (argc=3, argv=0xbfe27cd4)
at /var/tmp/portage/dev-lang/php-5.3.5-r100/work/sapis-build/fpm/sapi/fpm/fpm/fpm_main.c:1665
and is killed by PAX
Feb 18 11:28:21 w11 kernel: PAX: From 1.0.0.1: execution attempt in: <anonymous mapping>,
af8b1000-af8b5000 af8b1000
Feb 18 11:28:21 w11 kernel: PAX: terminating task: /usr/lib/php5.3/bin/php-fpm(php-fpm):16003,
uid/euid: 103/103, PC: af8b1768, SP: bfe256dc
Feb 18 11:28:21 w11 kernel: PAX: bytes at PC: 60 17 8b af 60 17 8b af 68 17 8b af 68 17 8b af 70 17
8b af
Feb 18 11:28:21 w11 kernel: PAX: bytes at SP-4: bfe25728 084f1ac1 08da8a70 00000000 08a5a4a0
084f1a9a 08a28ff4 00000000 bfe25738 081c1633 08da8a70 00000000 bfe25738 084138b0 08a4db20 08974bc8
000003d4 08a28ff4 00000000 00000000 0000001e
all other children of fpm master fall to defunct and maser fails to respawn them:
root 28500 1 0 03:11 ? 00:00:24 php-fpm: master process
(/etc/php/fpm-php5.3/php-fpm.conf)
lighttpd 16000 28500 0 11:26 ? 00:00:08 [php-fpm] <defunct>
lighttpd 16001 28500 0 11:26 ? 00:00:09 [php-fpm] <defunct>
lighttpd 16002 28500 0 11:26 ? 00:00:08 [php-fpm] <defunct>
lighttpd 16004 28500 0 11:26 ? 00:00:08 [php-fpm] <defunct>
lighttpd 16005 28500 0 11:26 ? 00:00:08 [php-fpm] <defunct>
lighttpd 22434 28500 3 11:57 ? 00:00:04 php-fpm: pool www
lighttpd 22458 22434 0 11:58 ? 00:00:00 php-fpm: pool www
lighttpd 22456 28500 6 11:58 ? 00:00:02 php-fpm: pool www
root 22467 28500 0 11:59 ? 00:00:00 php-fpm: master process
(/etc/php/fpm-php5.3/php-fpm.conf)
only system reboot helps
Expected result:
----------------
fpm-respawn children
Actual result:
--------------
fpm stop to respond
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54044&edit=1
Thread (4 messages)