
01-21-2009, 12:32 AM
|
|
Senior Member
|
|
Join Date: Jan 2009
Posts: 75
|
|
Quote:
Originally Posted by mistwang
Can you show me your xcache configuration in php.ini?
I think the memory limit for lsphp5 may be too low, so it cause 503 errors.
For single large web site, it is better disabling PHP suEXEC.
Test LiteSpeed on another port with an Apache port offset, make sure xcache is working then switch to LiteSpeed from Apache.
|
Xcache now works, but as you see load is really high, so it is probably ddos or alot of reloading my page, where can i find ddos settings?
I have lowered PHP, and in lsphp5 i have put higher settings:
Memory Soft Limit (bytes)
450M
Memory Hard Limit (bytes)
500M
Process Soft Limit
400
Process Hard Limit
500
Quote:
27513 nobody 22 1 276m 9248 6432 R 50.8 0.2 0:12.25 lsphp5
27818 nobody 22 1 276m 8232 5504 R 36.8 0.2 0:00.37 lsphp5
27820 nobody 21 1 276m 8044 5320 R 27.9 0.2 0:00.28 lsphp5
15666 mysql 10 -5 486m 341m 3768 S 25.9 8.4 12134:28 mysqld
27127 nobody 21 1 276m 11m 9400 R 19.9 0.3 0:22.94 lsphp5
27695 nobody 22 1 275m 11m 9m S 13.9 0.3 0:05.64 lsphp5
27693 nobody 21 1 275m 11m 9252 S 8.0 0.3 0:05.48 lsphp5
27125 nobody 17 1 275m 13m 11m S 7.0 0.3 0:18.74 lsphp5
27696 nobody 16 1 275m 11m 9.8m S 4.0 0.3 0:06.77 lsphp5
27684 nobody 16 1 275m 10m 9240 S 2.0 0.3 0:05.05 lsphp5
18032 named 25 0 72652 33m 1956 S 1.0 0.8 15:00.25 named
27122 nobody 15 0 8604 5304 1416 S 1.0 0.1 0:01.21 lshttpd
27610 nobody 17 1 275m 11m 9616 S 1.0 0.3 0:04.99 lsphp5
|
My nice value is also high: Cpu(s): 18.5% us, 10.0% sy, 71.5% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Last edited by Bono; 01-21-2009 at 01:53 AM..
|