Hi,
I'm running a large VB3 forum (possibly migrating to VB4) and looking to tweak Litespeed as much as possible to reduce load. Can you please take a look over my configurations and offer as much advice as possible. I'm using XCACHE for opcode and Memcache(d) for the forum DB.
Litespeed version: 4.1.2
PHP Version: 5.1.17
Memory I/O Buffer ; 60m
Max connections; 2000
Connection timeout; 60
Max Keep-Alive Requests; 1000
smart keepalive; yes
Keep-Alive Timeout (secs); 7
Lsphp5
Max connections; 100
PHP_LSAPI_MAX_REQUESTS=2000
PHP_LSAPI_CHILDREN=100
Initial request timeout; 60
connection keepalive timeout; 30
max idle time; 10
priority; 0
Memory Soft Limit (bytes); 640m;
Memory Hard Limit (bytes); 720m
Process Soft Limit; 800m
Process Hard Limit; 1000m
Thanks guys
I'm running a large VB3 forum (possibly migrating to VB4) and looking to tweak Litespeed as much as possible to reduce load. Can you please take a look over my configurations and offer as much advice as possible. I'm using XCACHE for opcode and Memcache(d) for the forum DB.
top - 11:14:42 up 3 days, 13:00, 1 user, load average: 6.26, 7.13, 6.92
Tasks: 142 total, 5 running, 137 sleeping, 0 stopped, 0 zombie
Cpu(s): 59.2%us, 3.5%sy, 0.0%ni, 36.6%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st
Mem: 8181048k total, 7147468k used, 1033580k free, 205656k buffers
Swap: 16771576k total, 168k used, 16771408k free, 5431996k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20069 website 16 0 267m 106m 75m R 64.2 1.3 1:29.07 lsphp5
20059 website 15 0 269m 106m 73m R 39.3 1.3 1:32.17 lsphp5
29025 mysql 10 -5 835m 639m 4084 S 30.9 8.0 345:43.36 mysqld
20060 website 15 0 270m 108m 74m R 28.3 1.4 1:23.39 lsphp5
20279 website 16 0 271m 71m 36m S 27.3 0.9 0:19.56 lsphp5
20067 website 16 0 271m 112m 77m S 22.3 1.4 1:25.14 lsphp5
20338 website 16 0 266m 57m 24m R 19.0 0.7 0:04.68 lsphp5
20062 website 15 0 281m 117m 72m S 17.6 1.5 1:19.76 lsphp5
4016 nobody 15 0 98000 30m 780 S 2.0 0.4 94:43.51 memcached
Tasks: 142 total, 5 running, 137 sleeping, 0 stopped, 0 zombie
Cpu(s): 59.2%us, 3.5%sy, 0.0%ni, 36.6%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st
Mem: 8181048k total, 7147468k used, 1033580k free, 205656k buffers
Swap: 16771576k total, 168k used, 16771408k free, 5431996k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20069 website 16 0 267m 106m 75m R 64.2 1.3 1:29.07 lsphp5
20059 website 15 0 269m 106m 73m R 39.3 1.3 1:32.17 lsphp5
29025 mysql 10 -5 835m 639m 4084 S 30.9 8.0 345:43.36 mysqld
20060 website 15 0 270m 108m 74m R 28.3 1.4 1:23.39 lsphp5
20279 website 16 0 271m 71m 36m S 27.3 0.9 0:19.56 lsphp5
20067 website 16 0 271m 112m 77m S 22.3 1.4 1:25.14 lsphp5
20338 website 16 0 266m 57m 24m R 19.0 0.7 0:04.68 lsphp5
20062 website 15 0 281m 117m 72m S 17.6 1.5 1:19.76 lsphp5
4016 nobody 15 0 98000 30m 780 S 2.0 0.4 94:43.51 memcached
PHP Version: 5.1.17
Memory I/O Buffer ; 60m
Max connections; 2000
Connection timeout; 60
Max Keep-Alive Requests; 1000
smart keepalive; yes
Keep-Alive Timeout (secs); 7
Lsphp5
Max connections; 100
PHP_LSAPI_MAX_REQUESTS=2000
PHP_LSAPI_CHILDREN=100
Initial request timeout; 60
connection keepalive timeout; 30
max idle time; 10
priority; 0
Memory Soft Limit (bytes); 640m;
Memory Hard Limit (bytes); 720m
Process Soft Limit; 800m
Process Hard Limit; 1000m
Thanks guys