dbembibre
Active member
Anyone know how to show an unified status page when implementing pools of php-fpm engines ?
I set in the engines the same path to status and if i refresh the status page i see one to one every the engine. But exist any way to show all engines at one time in the same url ?
I set in the engines the same path to status and if i refresh the status page i see one to one every the engine. But exist any way to show all engines at one time in the same url ?
Code:
upstream backend {
server 127.0.0.1:9000;
server 127.0.0.1:9001;
server 127.0.0.1:9002;
server 127.0.0.1:9003;
}
[www1]
listen=127.0.0.1:9000
pm = dynamic
pm.max_children = 4096
pm.start_servers = 20
pm.status_path = /status
pm.min_spare_servers = 5
pm.max_spare_servers = 128
pm.max_requests = 1024
listen.backlog = -1
[www2]
listen=127.0.0.1:9001
pm = dynamic
pm.max_children = 4096
pm.start_servers = 20
pm.min_spare_servers = 5
pm.status_path = /status
pm.max_spare_servers = 128
pm.max_requests = 1024
listen.backlog = -1
[www3]
listen=127.0.0.1:9002
pm = dynamic
pm.max_children = 4096
pm.start_servers = 20
pm.status_path = /status
pm.min_spare_servers = 5
pm.max_spare_servers = 128
pm.max_requests = 1024
listen.backlog = -1
[www4]
listen=127.0.0.1:9003
pm = dynamic
pm.max_children = 4096
pm.start_servers = 20
pm.status_path = /status
pm.min_spare_servers = 5
pm.max_spare_servers = 128
pm.max_requests = 1024
listen.backlog = -1