Too much php-cgi causes cpu to be full

is there any company that runs php online on windows? recently, there are activities on the company game app. 300,500 people directly get stuck when they enter the game at the same time, and apache dies. A total of more than 200 php-cgi are enabled, cpu occupies 98% php-cgi 100%, and the environment is windowsserver+php+apache+sqlserver. Ask the great god for advice on how to solve it!

Apr.24,2022

L configuration 300500 concurrency is not low. Php is multi-process and single-threaded, so it is not surprising that more than 200 cgi processes


add a nginx reverse proxy shunt.

Menu