I'm trying to determine what would be a good configuration for a site getting on avg 12000 hits per day. I'm running on a VPS with 2GB memory with the LiteSpeed Enterprise version. Are the settings below acceptable?
Max Connections: 500
PHP_LSAPI_MAX_REQUESTS=500
PHP_LSAPI_CHILDREN=50
Memory Soft Limit: 500M
Memory Hard Limit: 550M
Process Soft Limit: 500
Process Hard Limit: 550
DDOS Settings:
Per Client Static Reqs/sec: 200
Per Client Dyn Reqs/sec: 200
The Server Level settings for "External Application Resource" are as follows.
CPU Soft Limit (sec): 300
CPU Hard Limit (sec): 600
Memory Soft Limit (bytes): 250M
Memory Hard Limit (bytes): 300M
Process Soft Limit: 400
Process Hard Limit: 450
I'm not sure if these values come into play since I'm setting the External Application resources at the vhost level.
I recommend putting 20 for connection soft limit and 30 for connection hard limit, and set the grace period to 15 seconds and banned period to 2500 seconds.
-Hady Abed
I recommend putting 20 for connection soft limit and 30 for connection hard limit, and set the grace period to 15 seconds and banned period to 2500 seconds.
-Hady Abed