Bug #62418 [Opn]: php-fpm master process crashes
| From: | rasmus@php.net | Date: | Wed, 27 Jun 2012 20:10:08 +0000 |
| Subject: | Bug #62418 [Opn]: php-fpm master process crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171590@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62418&edit=1
ID: 62418
Updated by: rasmus@php.net
Reported by: php at scratchspace dot com
Summary: php-fpm master process crashes
Status: Open
Type: Bug
Package: FPM related
Operating System: CentOS 6.2 x86_x64
PHP Version: 5.3.14
Block user comment: N
Private report: N
New Comment:
Not sure. Many people out there run with epoll without problems.
Previous Comments:
------------------------------------------------------------------------
[2012-06-27 18:28:14] php at scratchspace dot com
We've been up and running for 24 hours with "events.mechanism = poll" and no
problems. Let's give it a couple of days to be sure this workaround works. Is this
issue specific to epoll and the way we have php-fpm configured (to use minimal
resources), or is this is a bug in php-fpm that can ultimately be fixed?
------------------------------------------------------------------------
[2012-06-26 06:10:02] rasmus@php.net
Could you check if it is related to epoll? In your php-fpm.conf file, set:
events.mechanism = poll
to try with "poll" instead. You can also try setting it to "select"
------------------------------------------------------------------------
[2012-06-26 05:56:45] php at scratchspace dot com
Description:
------------
php-fpm master process crashes randomly on lightly loaded server running
nginx/0.8.54 with various CMS applications. It is unknown how to reproduce the
crash, but occurs in both php 5.3.13 and 5.3.14.
Actual result:
--------------
5.3.14 backtrace
Core was generated by `php-fpm:'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000016b5300 in ?? ()
#1 0x00000000006e02f3 in fpm_event_epoll_wait (queue=<value optimized out>,
timeout=<value optimized out>)
at /usr/src/debug/php-5.3.14/sapi/fpm/fpm/events/epoll.c:143
#2 0x00000000006d508f in fpm_event_loop (err=0) at /usr/src/debug/php-
5.3.14/sapi/fpm/fpm/fpm_events.c:401
#3 0x00000000006d01f7 in fpm_run (max_requests=0x7fffd103136c) at
/usr/src/debug/php-5.3.14/sapi/fpm/fpm/fpm.c:110
#4 0x00000000006d79a4 in main (argc=1, argv=0x7fffd10334d8) at
/usr/src/debug/php-5.3.14/sapi/fpm/fpm/fpm_main.c:1778
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62418&edit=1