LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   one website loads very fast other very slow (http://www.litespeedtech.com/support/forum/showthread.php?t=6320)

hamdiboy 10-21-2012 03:02 AM

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 ?

hamdiboy 10-21-2012 04:41 AM

http://i47.tinypic.com/2lnefr5.png

i have one cpu license


root@server [~]# netstat -an | grep 80 | grep ESTA | wc
1120 6720 99680

hamdiboy 10-21-2012 07:42 AM

and some times all websites loads very slow

webizen 10-21-2012 09:42 AM

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.

hamdiboy 10-21-2012 12:36 PM

http://i45.tinypic.com/1672tso.png

this is my new real stats,

we are still having some problem

top -c did not help me to see anything intresting :/

NiteWave 10-21-2012 05:56 PM

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.

hamdiboy 10-24-2012 11:45 AM

it did not helped.

how can i run php in different mode is there any way to work without externall app ?

webizen 10-24-2012 01:54 PM

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.

hamdiboy 10-24-2012 02:37 PM

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?

NiteWave 10-24-2012 06:22 PM

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.


All times are GMT -7. The time now is 03:51 PM.