Req #68678 [Com]: FPM Ping should use a reserved worker

From: Date: Mon, 25 Jul 2016 11:07:17 +0000
Subject: Req #68678 [Com]: FPM Ping should use a reserved worker
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-202571@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68678&edit=1

 ID:                 68678
 Comment by:         maciej at klepaczewski dot com
 Reported by:        hjf288 at gmail dot com
 Summary:            FPM Ping should use a reserved worker
 Status:             Open
 Type:               Feature/Change Request
 Package:            FPM related
 Operating System:   All
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Both ping and status page should have reserved 'admin' connection.


Previous Comments:
------------------------------------------------------------------------
[2014-12-29 03:07:22] hjf288 at gmail dot com

Sorry, this should be in reference to the ping functionality.

------------------------------------------------------------------------
[2014-12-29 03:04:07] hjf288 at gmail dot com

Description:
------------
PHP-FPM should have a reserved worker available to serve the status page even if all other workers
are busy.

This prevents false alarms when monitoring the status page (and it being unable to be served due to
worker exhaustion)

The thought on this comes from MySQL - where you can hit max connections but there is a reserved
connection so a superuser can connect and still work with the server.

Test script:
---------------
Exceed the configured worker count.
Attempt to access the status page.

Expected result:
----------------
I would expect to see the status page.

Actual result:
--------------
Attempt to access the status page will fail.


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=68678&edit=1


Thread (7 messages)

« previous php.bugs (#202571) next »