php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62726 FPM fails to spawn when max_children is set to a high number
Submitted: 2012-08-02 12:07 UTC Modified: 2013-02-18 00:35 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: olemarkus@php.net Assigned:
Status: No Feedback Package: FPM related
PHP Version: 5.4.5 OS: Gentoo Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-08-02 12:07 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-05 12:16 UTC] 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-09-27 23:29 UTC] fat@php.net
-Status: Open +Status: Feedback
 [2012-09-27 23:29 UTC] fat@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 07:01:29 2024 UTC