PHP-FRM gets 100% of CPU

Posted March 16, 2014 1.8k views
I see more than 100 Active Connections in Nginx, and Load Average is about 10. php-frm take 100% of CPU and my server starts responding with Error 502. When I restart php-frm or reboot server it repeats again. But I not see many users in Google Analytics Realtime. Only 1-2 users in second. I run my server few years and I never had this problem. Even when I had 20-30 users in second, server was ok, Load Average was < 1.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
Have you tried profiling your PHP applications? Maybe there's a function or piece of code that enters a loop and keeps at it, or even a background job that for some reason doesn't end.