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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e90a99-12f8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e90a99-12f8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?