LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Some issues with waiting time

Reply
 
Thread Tools Display Modes
  #1  
Old 06-27-2012, 12:33 PM
ARP ARP is offline
New Member
 
Join Date: Jun 2012
Posts: 2
Default Some issues with waiting time

Hi,

I have been using litespeed webserver for a few months now and I'm quite happy with how this arrangement is working. I have some small issues though. Some of the sites I host, mostly Joomla, Presta Shop and Magento, have a very high wait time when they're accessed, but just a part of the above mentioned CMSes. At first, I suspected that the server is slow, but this issue keeps popping up when the load is 2-3. the server is a quad-core xeon, 8 Gb DDR3, Raid 10, SATA, Centos+cPanel and the databases are hosted on a remote mysql server which is also a quad-core xeon, 16 Gb DDR3, RAID10 and SAS drives with a gigabit connection between the two servers.

Top looks something like this:

top - 22:26:32 up 73 days, 22:01, 3 users, load average: 2.55, 2.46, 2.63
Tasks: 194 total, 2 running, 192 sleeping, 0 stopped, 0 zombie
Cpu(s): 17.7%us, 5.1%sy, 0.2%ni, 75.1%id, 1.1%wa, 0.0%hi, 0.5%si, 0.3%st
Mem: 7340032k total, 6995764k used, 344268k free, 232276k buffers
Swap: 4194296k total, 1092k used, 4193204k free, 5067512k cached

I've also attached a screenshot with the load time of one of the sites. The servers are located in europe so accessing from amsterdam shouldn't take that long.
Attached Images
File Type: jpg load_time.jpg (37.8 KB, 3 views)
Reply With Quote
  #2  
Old 06-27-2012, 12:58 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
does this always happen? or just occasionally? i just tested your site with pingdom, wait time for base page is less than 1 sec. iow, your site is OK.

long wait time usually is due to delay in php processing or slow db.
Reply With Quote
  #3  
Old 06-27-2012, 01:33 PM
ARP ARP is offline
New Member
 
Join Date: Jun 2012
Posts: 2
Hi,

Usually, after a few visits, some sort of cache is being created and the sites start loading normally. Is there any way I can study this behavior in some logs or tweak the config files?
Reply With Quote
  #4  
Old 06-27-2012, 02:12 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
php and db usually are the bottleneck. that's why cache is needed to improve overall performance. you can strace php process and see where the delay is, as a starting point.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:34 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.