fastcgi statistics at nginx

Reinis Rozitis r at
Wed Sep 29 18:38:22 MSD 2010

> Please, is there a way to see how many active requests I have to fastcgi ?

You can get some statistics from FPM itself like:

accepted conn:   129
pool:             www
process manager:  dynamic
idle processes:   20
active processes: 0
total processes:  20

when setting the pm.status_path variable in fpm config. 

For example:

pm.status_path = /status

Then you should configure nginx to pass the location to php backend:

location /status {
                        fastcgi_pass   ...
                        # whatever else you have


More information about the nginx mailing list