D
D
DragoN DragoN2016-11-04 03:36:58
linux
DragoN DragoN, 2016-11-04 03:36:58

Logging long-running PHP scripts?

Tell me how to set up or what to put so that you can log all running scripts that can take a long time to run, freeze, etc.
There are times when php-fpm gets clogged, I understand that there are timeouts, but I want to find the root of evil and understand who is the first to hang .
I'll attach htop for clarity
9220d682cc3f4254ac339bf9eac64e2e.PNG
PS
I came across one site that, when installing certain packages, allows you to monitor the status of php-fpm and shows long-running scripts, but I would like to catch them myself

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question