Bug #60891 [Opn->Ana]: FPM status serving should be moved to the master process
| From: | rasmus@php.net | Date: | Sat, 28 Jan 2012 04:38:13 +0000 |
| Subject: | Bug #60891 [Opn->Ana]: FPM status serving should be moved to the master process | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-166888@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60891&edit=1
ID: 60891
Updated by: rasmus@php.net
Reported by: erno dot kovacs at freemail dot hu
Summary: FPM status serving should be moved to the master
process
-Status: Open
+Status: Analyzed
Type: Bug
Package: FPM related
Operating System: Any
PHP Version: 5.3.9
-Assigned To:
+Assigned To: fat
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2012-01-26 14:57:22] ml at fatbsd dot com
for security reason and by design it's not possible to make the master process to
listen to those requests.
The only possibility is to fork another process only to handle this. And this is
quite a a big change. It's on my todo list but no ETA yet.
++ fat
------------------------------------------------------------------------
[2012-01-26 13:08:01] erno dot kovacs at freemail dot hu
Description:
------------
When the server is overloaded, you cant query the FPM status page, however it should be its primary
goal: being able to check whats going on. This way this cool feature is pointless.
Test script:
---------------
fpm conf:
pm = dynamic
pm.max_children = 1
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 1
test script:
<?
sleep(60);
?>
And while the only worker process is sleeping, send a query to the status page. It wont be served.
Expected result:
----------------
Status page.
Actual result:
--------------
Hanging
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60891&edit=1