Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: php-fpm support #167

Closed
ZalemCitizen opened this issue Oct 19, 2016 · 3 comments
Closed

Feature request: php-fpm support #167

ZalemCitizen opened this issue Oct 19, 2016 · 3 comments
Assignees

Comments

@ZalemCitizen
Copy link

What about reading FPM status page and display idle/busy workers, etc ?
Thx

@W4U-TOURS
Copy link

+1 for adding FPM status

@mikaku
Copy link
Owner

mikaku commented Mar 27, 2019

I've been tinkering a bit with the status returned by PHP-FPM:

pool:                 pool1
process manager:      dynamic
start time:           17/Mar/2019:11:14:02 +0100
start since:          856944
accepted conn:        14466
listen queue:         0
max listen queue:     1
listen queue len:     128
idle processes:       6
active processes:     1
total processes:      7
max active processes: 5
max children reached: 0
  • It looks like the value of start since: is common in all pools. Is this right?
  • My version of PHP-FPM don' show the option slow requests:, even when I've setup:
request_slowlog_timeout = 5s
slowlog = /var/log/php-fpm/pool1-slow.log
  • Finally, if I append the string /?full in the URL, it gives more information regarding the threads used for that pool. I don't see relevant that information.

In all, I could prepare a new graph like the following one:

+-----------------------------------+------------------+
|                                   |  listen queue    |
|       accepted conn               +------------------+
|  (uptime based on 'start since:') | total processes  |
+-----------------------------------+------------------+
|                                   |  max child reach |
|      active processes             +------------------+
|                                   |  slow requests   |
+-----------------------------------+------------------+

Every graph will be able to show up to 8 or 9 pools, and you are free to create unlimited number of these graphs.

We do agree?

@mikaku mikaku self-assigned this Apr 1, 2019
@mikaku
Copy link
Owner

mikaku commented Apr 3, 2019

The following is an example of what I have don so far (almost completed):

phpfpm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants