Analysis and Fix for High CPU Load Caused by Too Many php-cgi Processes
Server Environment: Red Hat Linux 5.5, Nginx, PHP FastCGI. In this environment, php-cgi typically runs very stably, but we have encountered situations where php-cgi consumes too many CPU resources, causing the server to respond too slowly. The reasons I’ve seen for php-cgi processes consuming excessive CPU resources include: 1. Some PHP …