|  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
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: Assigned:
Status: No Feedback Package: FPM related
PHP Version: 5.4.5 OS: Gentoo Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
23 - 11 = ?
Subscribe to this entry?

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


Add a Patch

Pull Requests

Add a Pull Request


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- 

Changing the pm.max_children did not seem to fix this for me and I am using pm = 

Works fine with PHP 5.3.14
 [2012-09-27 23:29 UTC]
-Status: Open +Status: Feedback
 [2012-09-27 23:29 UTC]
Please try using this snapshot:
For Windows:

 [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-2022 The PHP Group
All rights reserved.
Last updated: Thu Oct 06 09:03:57 2022 UTC