K
K
kravets2015-07-08 20:43:26
Server optimization
kravets, 2015-07-08 20:43:26

How to find out which php processes generate high CPU load?

Php consumes a lot of CPU resources, up to 50% of the power of an 8-core Intel Xeon.
Graph of cpu load generated by different consumers:
https://www.dropbox.com/s/1ozyyat7ee9uibo/Screensh...
PHP load and number of running instances:
https://www.dropbox.com/s/1cdxku8bpjks8ir/Screensh. ..
Tell me how to find out exactly where the inefficiency is, which processes generate the most load?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
matperez, 2015-07-08
@matperez

IMHO, the surest method is profiling. You can use xhprof , you can use XDebug .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question