0

I found a high CPU loading in php-fpm from the top command. Is there any way to find which file is currently running by php-fpm?

hatted
  • 1,535
  • 1
  • 15
  • 26

1 Answers1

0

you can activate php-fpm status page by set pm.status_path = /status in php-fpm pool configuration. and serve that page with apache or nginx.

you just have to access http://statuspage/status?full, then you will see php running script like this.

enter image description here

if you using nginx, you can follow this tutorial.

nothinux
  • 451
  • 2
  • 10