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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > one website loads very fast other very slow

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2012, 03:02 AM
hamdiboy hamdiboy is offline
Member
 
Join Date: Oct 2012
Posts: 18
Default one website loads very fast other very slow

Hello,

I use i use same script on different domains.

One of website loads very slow ( 40 secs) other websites loads in 1 sec .


So i think that there is some limits.


what should i do ?
Reply With Quote
  #2  
Old 10-21-2012, 04:41 AM
hamdiboy hamdiboy is offline
Member
 
Join Date: Oct 2012
Posts: 18


i have one cpu license


root@server [~]# netstat -an | grep 80 | grep ESTA | wc
1120 6720 99680
Reply With Quote
  #3  
Old 10-21-2012, 07:42 AM
hamdiboy hamdiboy is offline
Member
 
Join Date: Oct 2012
Posts: 18
and some times all websites loads very slow
Reply With Quote
  #4  
Old 10-21-2012, 09:42 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Ext App WaitQ piling up (781, 446, etc) indicates your "PHP suEXEC Max Conn" (http://www.litespeedtech.com/docs/we...pSuExecMaxConn) is not high enough to handle incoming PHP requests. increase to 50 (from 6) and see if alleviate the issue. But this should only affect the sites with non-zero WaitQ.

When all sites load slowly, check realtime stats and see if more sites have non-zero WaitQ. also run 'top -c' from command line and see other processes consume cpu cycles.
Reply With Quote
  #5  
Old 10-21-2012, 12:36 PM
hamdiboy hamdiboy is offline
Member
 
Join Date: Oct 2012
Posts: 18


this is my new real stats,

we are still having some problem

top -c did not help me to see anything intresting :/
Reply With Quote
  #6  
Old 10-21-2012, 05:56 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
looks like having been improved by looking at the graph.
one busy site still have the problem(WaitQ=498).

try to enable anti-ddos feature, see if can resolve the issue.
especially
Server --> Security --> Per Client Throttling --> Dynamic Requests/second, tune it to 5,10,... to see if any difference.
Reply With Quote
  #7  
Old 10-24-2012, 11:45 AM
hamdiboy hamdiboy is offline
Member
 
Join Date: Oct 2012
Posts: 18
it did not helped.

how can i run php in different mode is there any way to work without externall app ?
Reply With Quote
  #8  
Old 10-24-2012, 01:54 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
That vhost (with WaitQ=498) isn't busy. However, it takes a long time (somewhere ~20-30 seconds) to complete the php request (even the incoming is only 5 requests/sec). Hence WaitQ pile up. You need to check the script and see why it takes long time to complete. Thing like the script pull resource from external site, etc.
Reply With Quote
  #9  
Old 10-24-2012, 02:37 PM
hamdiboy hamdiboy is offline
Member
 
Join Date: Oct 2012
Posts: 18
the intresting thing is

i am using same db and script on different two websites.

one of them loads very fast ( over half second) other one loads in 30 secs.

it is the same DB and same script.

there is a limit based on vhost i beleive.

how can i raise it?
Reply With Quote
  #10  
Old 10-24-2012, 06:22 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,291
Quote:
there is a limit based on vhost i beleive.

how can i raise it?
wrong assumption.
you can compare the configuration between the website.
and adjust any limit to have the bad one match the good one.
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 10:27 PM.



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