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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] Website loading become slow when at busy time

Reply
 
Thread Tools Display Modes
  #11  
Old 09-18-2011, 04:32 AM
ericknichos ericknichos is offline
Member
 
Join Date: Sep 2011
Posts: 12
yeach your right
i try to import config from cpanel, but still same
refer to : http://www.litespeedtech.com/support...ache_with_lsws

but if request in procesing higher, web is slow responding, sometimes 500 internal server error....
in setting above, PHP suEXEC is "yes"
is there something I need to change?
hopefully you can help me, because I am interested in using LiteSpeed ​​for long term...
thanks

ps : my DS dual xeon with 4gb ram
Reply With Quote
  #12  
Old 09-18-2011, 04:45 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
if PHP suEXEC is "yes", increase "PHP suEXEC Max Conn" may help.

please give a screenshot of real-stat when slow-responding.

and what's the problem when run apache ?
Reply With Quote
  #13  
Old 09-18-2011, 12:17 PM
ericknichos ericknichos is offline
Member
 
Join Date: Sep 2011
Posts: 12
Quote:
like this, for VHname "liz" if "req in procesing" in high numbers ( 82 ), the web will be very slow load / open
Reply With Quote
  #14  
Old 09-18-2011, 05:59 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
can't view the image.
Reply With Quote
  #15  
Old 09-18-2011, 11:39 PM
ericknichos ericknichos is offline
Member
 
Join Date: Sep 2011
Posts: 12


like this, for VHname "liz" if "req in procesing" in high numbers ( 82 ), the web will be very slow load / open
Reply With Quote
  #16  
Old 09-18-2011, 11:52 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
yes, please note WaitQ=71 of liz.
that's why the site is slow.
Quote:
if PHP suEXEC is "yes", increase "PHP suEXEC Max Conn" may help.
what's your current "PHP suEXEC Max Conn"?
Reply With Quote
  #17  
Old 09-19-2011, 02:46 AM
ericknichos ericknichos is offline
Member
 
Join Date: Sep 2011
Posts: 12
Thanks' for your reply NiteWave
The previous realtime screen shoot, I have disabled the php suexec, and create 5 virtual hosts with five listener without import config from apache
and it seems right, maybe the problem is due to EAProc WaitQ, then what should I do ?
I give screnshoot image abut my setting, also i try to increase php memory limit to 128 in php.ini







Last edited by ericknichos; 09-19-2011 at 10:41 AM..
Reply With Quote
  #18  
Old 09-19-2011, 03:31 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
in above settings(not php suExec), please adjust lsphp5 external app settings:
Process Soft/Hard Limit: 200 --> 300

then paste real-stat as before, to monitor the value of "EAProc WaitQ".

what webproxy are you running?

since 4.1.3, if php script stream video from youtube etc, the whole video file(which usually has large size) is not saved on server, so need much less free space of hard disk when proxy many concurrent streaming requests, but need increase max children of lsphp processes.
Reply With Quote
  #19  
Old 09-19-2011, 10:40 AM
ericknichos ericknichos is offline
Member
 
Join Date: Sep 2011
Posts: 12
Awesome and solved !!!

Really thanks NiteWave
after set max connection to 150 , children 150 and last Process Soft/Hard Limit: 200 --> 300 and all clear !!!



and for this time i feel litespeed is very fast....once again thanks NiteWave , after this trial expired I'll buy a license LiteSpeed

but sometimes EAProc WaitQ appears again but with a small nominal,not too annoying, but if the process increase again more and more, and visitors also increase, to anticipate these things do I have to raise the max connection and lsapi_children again?

and did you think i need to set Max Keep-Alive Requests and smart keep alive?

Last edited by ericknichos; 09-19-2011 at 10:55 AM..
Reply With Quote
  #20  
Old 09-19-2011, 06:31 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
Quote:
do I have to raise the max connection and lsapi_children again?
probably. need find out the bottleneck when you reach that traffic. please note "Http Out: 562KB", plus "Http In 101KB", I think you have used up about 8M bandwidth? when your traffic increase, next bottleneck may be at network.
also "top -c" can help you to identify the bottleneck: mysql? iowait? php ?

Quote:
and did you think i need to set Max Keep-Alive Requests and smart keep alive?
as long as your site works fine, don't touch them. the default settings are optimal for most cases.
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 12:01 AM.



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