Bug #62726 [Opn->Fbk]: FPM fails to spawn when max_children is set to a high number
| From: | fat@php.net | Date: | Thu, 27 Sep 2012 23:29:54 +0000 |
| Subject: | Bug #62726 [Opn->Fbk]: 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-173762@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
Updated by: fat@php.net
Reported by: olemarkus@php.net
Summary: FPM fails to spawn when max_children is set to a
high number
-Status: Open
+Status: Feedback
Type: Bug
Package: FPM related
Operating System: Gentoo Linux
PHP Version: 5.4.5
Block user comment: N
Private report: N
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.4-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2012-08-05 12:16:54] wer at wereveal dot com
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
------------------------------------------------------------------------
[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