Bug #62726 [Com]: FPM fails to spawn when max_children is set to a high number
| From: | wer at wereveal dot com | Date: | Sun, 05 Aug 2012 12:16:55 +0000 |
| Subject: | Bug #62726 [Com]: FPM fails to spawn when max_children is set to a high number | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172445@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62726&edit=1
ID: 62726
Comment by: wer at wereveal dot com
Reported by: olemarkus@php.net
Summary: FPM fails to spawn when max_children is set to a
high number
Status: Open
Type: Bug
Package: FPM related
Operating System: Gentoo Linux
PHP Version: 5.4.5
Block user comment: N
Private report: N
New Comment:
Discovered that I am experiencing the same problem with PHP 5.3.15 on Gentoo. php-
fpm refuses to start correctly. It hangs although the child processes are started
and continue to work even after kill -9 on the main command
/usr/lib/php5.3/bin/php-fpm -y /etc/php/fpm-php5.3/php-fpm.conf -g /var/run/php-
fpm-php5.3.pid
Changing the pm.max_children did not seem to fix this for me and I am using pm =
dynamic.
Works fine with PHP 5.3.14
Previous Comments:
------------------------------------------------------------------------
[2012-08-02 12:07:43] olemarkus@php.net
Description:
------------
With the following parameters set in php-fpm.conf, FPM refuse to start properly.
The worker threads are spawned, but hangs and only a kill -9 will stop them.
Setting pm.max_children to a lower number works.
The exact config works with PHP 5.4.4.
pm = static
pm.max_children = 500
Some additional information can be found in downstream bug
https://bugs.gentoo.org/show_bug.cgi?id=428194
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62726&edit=1