|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #51973 a way to restart single pools, enable/disable modules per pool
Submitted: 2010-06-02 13:01 UTC Modified: 2017-10-24 07:43 UTC
Avg. Score:3.8 ± 1.1
Reproduced:5 of 5 (100.0%)
Same Version:1 (20.0%)
Same OS:2 (40.0%)
From: slogster at gmail dot com Assigned:
Status: Open Package: FPM related
PHP Version: 5.3SVN-2010-06-02 (SVN) OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: slogster at gmail dot com
New email:
PHP Version: OS:


 [2010-06-02 13:01 UTC] slogster at gmail dot com

I would like to be able do enable/disable modules per pool and would also like to be able to restart single pool when I change its config.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-06-02 13:21 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: fat
 [2010-06-13 16:04 UTC]
For enabeling extensions you can use the php_admin_value setting for each pool:

php_admin_value[extension] =
 [2010-07-22 23:21 UTC]
-Status: Assigned +Status: Analyzed
 [2010-07-22 23:21 UTC]
Hi there.

There is no way to restart a single pool. If you change the conf file, send a USR2 
signal to the FPM process. All pool will be restarted. If you really don't want to 
restart other pools, you can safely send a QUIT signal the each pool processes.

btw, this bugs makes me think about adding a gracefull restart of FPM.
 [2011-07-05 08:18 UTC] daniele dot pignedoli at gmail dot com
Would be great also the possibility to add fpm pools on-the-fly without having to restart fpm (causing a downtime to all pools)
 [2011-07-22 08:06 UTC] uros dot gruber at gmail dot com

This could realy be usefull.
 [2011-10-21 13:53 UTC] dbetz at df dot eu

a graceful restart would be really nice .... AFTER ondemand feature :-D

 [2013-01-28 18:58 UTC] rschmidt at key-systems dot net
Hi all,

I am playing with fpm and chroot using unix sockets for shared web hosting. There 
is also a problem with recreating a missing socket file which requires a complete 
restart of fpm.

Any news on this request here?

 [2014-07-03 15:38 UTC] m at ttias dot be
Currently, the only way to do this is to run multiple PHP-FPM masters, all with a single pool. That way, you have full control over which extensions are loaded and how they're configured and you can restart a single pool without impacting others.

This technique, as well as example configs, is further explained in this blogpost:
 [2014-07-03 15:43 UTC] daniele dot pignedoli at gmail dot com
Thanks mattiast, its a very good solution.. i'll dive into next days
 [2017-10-24 05:22 UTC]
-Status: Analyzed +Status: Assigned
 [2017-10-24 07:43 UTC]
-Status: Assigned +Status: Open -Assigned To: fat +Assigned To:
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 10:01:31 2024 UTC