Litespeed 4.0.16 (4.0.15) terrible slow ! Why ?

#1
Hi Guys,
we are Litespeed customers for about two years now and have currently 3 VPSs running with 4.0.15 Version of litespeed.
Yesterday we upgraded one server to 4.0.16 and faced the problem of very slow loading websites ... !!
Even a switch back to the 4.0.15 version was a solution ... slow page loading.
We switched to apache and it was instantly up to 5 times faster !

We tried about all solutions mentioned here in the forum:

  • MySQL optimization and repair (which speeded up also the sites now under Apache server)
  • php rebuilding (we running 5.2.14, 5.3.x is not an option yet)
  • PHP suEXEC Max Conn changed to 20 or 25
  • suexec off
  • eaccelerator on and off
  • /tmp folder check (type and if it is full)

Nothing helps ... !!

The VPS has by far enough resources with 8-cores and 4GB guaranteed ram for about 120 client accounts.
We can not find the issue here!

Also there is no error log in /usr/local/lsws/logs .... only access.log and a ap_cmd_param.log which shows nothing unusual ! :confused:

The error.log from /usr/local/lsws/admin/logs shows us:

2010-08-19 11:08:20.575 [NOTICE] [85.74.168.12:1426-0#_AdminVHost] [STDERR] PHP Warning: Invalid argument supplied for foreach() in /usr/local/lsws/admin/html.4.0.15/classes/DUtil.php on line 230
2010-08-19 11:08:20.576 [NOTICE] [85.74.168.12:1426-0#_AdminVHost] [STDERR] PHP Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in /usr/local/lsws/admin/html.4.0.15/classes/ConfValidation.php on line 388
2010-08-19 11:21:54.231 [NOTICE] [85.74.168.12:1504-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?act=toggledbg&actId=&vl=&tk=0.37375800+1282202709 HTTP/1.1
2010-08-19 11:40:09.673 [NOTICE] [85.74.168.12:1627-1#_AdminVHost] [STDERR] upgrade
2010-08-19 13:13:23.900 [NOTICE] [85.74.168.12:2462-0#_AdminVHost] [STDERR] switchTo
2010-08-19 13:22:56.984 [NOTICE] [85.74.168.12:2599-0#_AdminVHost] Content len: 0, Request line:
GET /service/serviceMgr.php?act=toggledbg&actId=&vl=&tk=0.00552000+1282211493 HTTP/1.1
2010-08-19 13:53:03.104 [NOTICE] [85.74.168.12:2891-2#_AdminVHost] [STDERR] upgrade
2010-08-19 23:36:16.961 [NOTICE] [188.4.202.95:64987-1#_AdminVHost] [STDERR] upgrade

Please help us the server is in production and the clients are busy ... !!
 

NiteWave

Administrator
#2
Also there is no error log in /usr/local/lsws/logs .... only access.log and a ap_cmd_param.log which shows nothing unusual !
so your server run cPanel. the error log file is /usr/local/apache/error_log. any messages in it?
 
#3
Yes it is a Cpanel Server .... sorry, I forgot to mention this ...

the file /usr/local/apache/logs/error_log shows a huge number of entries like this ...

[Thu Aug 19 16:30:43 2010] [error] Optional function test said: OPTIONS * HTTP/1.0
[Thu Aug 19 16:30:43 2010] [error] Optional hook test said: OPTIONS * HTTP/1.0
[Thu Aug 19 16:30:43 2010] [error] Optional function test said: GET / HTTP/1.1
... for the time Litespeed was running !
 

mistwang

LiteSpeed Staff
#5
Have you notice anything abnormal when LiteSpeed is slow? high CPU utilization? high load? memory usage?
If you run LiteSpeed on another port parallel to Apache, the page load is low on another port?
 

dimmis

Active Member
#7
The memory usage raised to 30% or up to 50% sometimes ... load stays always < 1 !!
The check on another port we did not checked yet .... !
We needed to fix the situation quickly for our customers ... but as mentioned before, even the downgrade back to 4.0.15 did not fixed the problem .... !
So we replaced the /usr/local/lsws folder with a backup from before the update to 4.0.16 and it worked !
The 4.0.15 now is running normal fast now ... but we will not update now because our customers will be angry !!
 
Top