My PHP running load under OpenLiteSpeed has soared. What's going on?

#1
Now on one of my OpenLiteSpeed sites, once the homepage is forced refreshed by Ctrl+F5, the lsphp process on the server will increase, causing the server load to soar (as shown below):
QQ截图20240502135206.png

My virtual host configuration refers to the official template (as shown below):
企业微信截图_20240502144650.png
The server configuration is as follows:
企业微信截图_20240502144840.png
My configuration is a cloud server with 1CPU and 2G memory.How should I configure my server and virtual host?
External App

Can we avoid load surges and downtime?
 
#3
I have downgraded the OpenLiteSpeed version to 1.7.19, but the problem remains!
Wouldn't OpenLiteSpeed not even be able to support this configuration? So why not switch back to LNMP?
 

Cold-Egg

Administrator
#4
In your case, I'd set both max connections and PHP_LSAPI_CHILDREN limit to 15, and apply LSCache on your site if possible to reduce the load.
 
Top