Recently the PHP-FPM has been full CPU, and later increased the number of processes by adding modification configuration issues to be temporarily resolved.
But for this sudden "symptoms" do not have the experience to troubleshoot the root cause of the problem.
Ask for your predecessors, pointing out the idea!
Reply content:
Recently the PHP-FPM has been full CPU, and later increased the number of processes by adding modification configuration issues to be temporarily resolved.
But for this sudden "symptoms" do not have the experience to troubleshoot the root cause of the problem.
Ask for your predecessors, pointing out the idea!
In all remote call interfaces, lengthy operations record execution time write log
Analyze long-time requests
Start with the procedure and use the Xdebug to find out if the key code takes up a very high time.
Start with the following:
Analyze system Bottlenecks
Analyzing Memory Bottlenecks
Analyze IO Bottlenecks
Parsing process calls
Optimizing Program Code
Look at this article:
Http://linuxtools-rst.readthedocs.org/zh_CN/latest/advance/03_optimization.html