The server has a large number of php-cgi.exe processes, causing the CPU to take up 100% of the resolution.

  

This problem is generally a procedural problem, such as the program running PHP in fastcgi mode, and the program setting StartProcesses is too large, such as 6 or even more Big.

Resolve the reference:

1. Check the system disk space. Check if there are too many temporary files in the system. The temporary files of the mysql database are saved to c:/windows/temp by default, resulting in the accumulation of tens of thousands or even millions of small files, and the system disk is compressed.
2.PHP is a widely used dynamic scripting language, but there is no built-in support for the PHP language in IIS, so if you need to use PHP, you must install it yourself. PHP can be installed in CGI mode or ISAPI mode. Since ISAPI mode has higher performance, I suggest you use ISAPI mode.
3. If you can modify the program, it is recommended to reduce the StartProcesses value in the program configuration file to 2 to see if it improves.
4. See if the server has a problem with the attack phenomenon.

Copyright © Windows knowledge All Rights Reserved