|
|

09-18-2011, 04:32 AM
|
|
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
|

09-18-2011, 04:45 AM
|
|
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 ?
|

09-18-2011, 12:17 PM
|
|
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
|

09-18-2011, 05:59 PM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,226
|
|
|
can't view the image.
|

09-18-2011, 11:39 PM
|
|
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
|

09-18-2011, 11:52 PM
|
|
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"?
|

09-19-2011, 02:46 AM
|
|
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..
|

09-19-2011, 03:31 AM
|
|
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.
|

09-19-2011, 10:40 AM
|
|
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..
|

09-19-2011, 06:31 PM
|
|
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 12:01 AM.
|
|