|
|

11-30-2008, 06:48 AM
|
|
Senior Member
|
|
Join Date: Nov 2008
Posts: 65
|
|
Pre-sale questions
Hello,
I've just practically meet LiteSpeed Web Server and i must confess that i'm very impressed. The installation and the cPanel integration were quite easy. I've been running the lsws since yesterday and the server load averages are 2-3 times lower. But of course i have a few questions before buying a license.
1-) I've tried many things to activate gzip compression for the dynamic content but it never worked. It's working for static content and the custom compressible types i specified. I test it with this tool http://whatsmyip.org/mod_gzip_test/ I have mod_deflate for my apache 2.2 and it's working great with the lines below added to the top of my httpd.conf:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
What's are the equivalent settings for lsws? Please specify them one-by-one for the Tuning screen.
2-) I'm currently running lsws 2-cpu 15 day trial version. When i switch to Apache 2.2, the server load averages are about 8.00. They are between 3.00-3.80 for lsws. If i buy a 4-cpu license, can we think they will drop to 1.50-2.00? This is my web server (apache-PHP), nothing else is using the resources. Server hardware:
Dual Quad Core Cpu (E5335 @ 2.00GHz)
8 GB RAM, 10K RPM, 73GBx2 HDD, RAID1
I think 4-cpu license will work for me. I read some posts that i don't need to buy a license for each cpu core (8 cores total for me) but i want to test it first. The question is can you please provide me a test license for 4-cpu core? (at least for 3 days or less)
Check the server snapshots below:
http://img204.imageshack.us/img204/9053/snap3vj8.png
http://img411.imageshack.us/img411/1473/86833028lr7.png
3-)I've been running apache with the settings below (i don't want to switch to load balanced environment since i had bad experiences with it in the past, 1 dual quad core web server + lsws installed and 1 quad core db server will be enough for me i guess):
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 1
ServerLimit 1024
StartServers 15
MinSpareServers 15
MaxSpareServers 20
MaxClients 512
MaxRequestsPerChild 1000
What are the optimized values for lsws?
4-) What are the optimized values for the security (ddos)? My site is a big one (most active section is the forum) with 200k+ daily unique hits. Google spider is crawling 250k-300k pages in a day. I don't want to block or limit it. So can you please show me some recommended values for these settings?
5-) I can easily see 404 file not found error messages in apache's error log at cpanel. I think lsws' logging system is a little more complicated. How can i only display 404 file not found messages and fix the broken images, links etc at lsws?
6-) Too many "The size of dynamic response body is over the limit, abort!" warnings, which option i should change?
That's all for now.
Thank you 
Last edited by LiteSpeeder; 11-30-2008 at 07:22 AM..
|

11-30-2008, 07:49 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,603
|
|
Quote:
Originally Posted by LiteSpeeder
1-) I've tried many things to activate gzip compression for the dynamic content but it never worked. It's working for static content and the custom compressible types i specified. I test it with this tool http://whatsmyip.org/mod_gzip_test/ I have mod_deflate for my apache 2.2 and it's working great with the lines below added to the top of my httpd.conf:
|
http://www.litespeedtech.com/docs/we...leGzipCompress
All Gzip related configures are there. Those apache directive has no effect on Litespeed.
Quote:
2-) I'm currently running lsws 2-cpu 15 day trial version. When i switch to Apache 2.2, the server load averages are about 8.00. They are between 3.00-3.80 for lsws. If i buy a 4-cpu license, can we think they will drop to 1.50-2.00? This is my web server (apache-PHP), nothing else is using the resources. Server hardware:
Dual Quad Core Cpu (E5335 @ 2.00GHz)
8 GB RAM, 10K RPM, 73GBx2 HDD, RAID1
I think 4-cpu license will work for me. I read some posts that i don't need to buy a license for each cpu core (8 cores total for me) but i want to test it first. The question is can you please provide me a test license for 4-cpu core? (at least for 3 days or less)
Check the server snapshots below:
http://img204.imageshack.us/img204/9053/snap3vj8.png
http://img411.imageshack.us/img411/1473/86833028lr7.png
|
The easiest way is order a monthly license, we have 30 day money back guarantee. If you want to upgrade to owned license, we will use the monthly payment as credit towards that.
I think 4-CPU license wont lower load to 1.8-2.0, but you can give a try.
Quote:
3-)I've been running apache with the settings below (i don't want to switch to load balanced environment since i had bad experiences with it in the past, 1 dual quad core web server + lsws installed and 1 quad core db server will be enough for me i guess):
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 1
ServerLimit 1024
StartServers 15
MinSpareServers 15
MaxSpareServers 20
MaxClients 512
MaxRequestsPerChild 1000
What are the optimized values for lsws?
|
Our default value should be pretty good.
Quote:
|
4-) What are the optimized values for the security (ddos)? My site is a big one (most active section is the forum) with 200k+ daily unique hits. Google spider is crawling 250k-300k pages in a day. I don't want to block or limit it. So can you please show me some recommended values for these settings?
|
start from
http://www.litespeedtech.com/how-tos.html#qa_dos
Quote:
|
5-) I can easily see 404 file not found error messages in apache's error log at cpanel. I think lsws' logging system is a little more complicated. How can i only display 404 file not found messages and fix the broken images, links etc at lsws?
|
We do not log all 404 file in the error log due to Ruby On Rail support. Right now, use a log analyzer or just scan access log should work.
Quote:
|
6-) Too many "The size of dynamic response body is over the limit, abort!" warnings, which option i should change?
|
http://www.litespeedtech.com/docs/we...maxDynRespSize
|

11-30-2008, 08:38 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,603
|
|
|
Yes, only install the license key then restart LiteSpeed, Select "upgrade" from installer, it will do that.
The value of DDoS setting in the howto is pretty good.
Max Dynamic response size is depends on your application, you can set it any value you want.
|

11-30-2008, 08:40 AM
|
|
Senior Member
|
|
Join Date: Nov 2008
Posts: 65
|
|
|
What does that warning mean actually? Does it close the connection?
Btw, i'm running 4-cpu license version now and i didn't notice any performance improvements.
vbulletin with 5850 online users (15 minutes cookie timeout), server load averages: 4.80
What's the main difference betweeen 2-cpu and 4-cpu license versions? I mean how may it effect the vbulletin serving?
I see these errors:
ERROR No listener is available, stop server!
Last edited by LiteSpeeder; 11-30-2008 at 08:47 AM..
|

11-30-2008, 09:04 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,603
|
|
|
The warning means that PHP generate a response body over the limit.
It will cut off the response body, whether to close the connection is based on the "Keep Alive" setting.
You need to create a Listener with IP:80 for your web site, then set the "Binding" to all 4 processes. This way, all four lshttpd process will be actively serving that web site, otherwise, only one process is active.
|

11-30-2008, 09:16 AM
|
|
Senior Member
|
|
Join Date: Nov 2008
Posts: 65
|
|
I got it.
Double of the stats below is my peak time:
http://img83.imageshack.us/img83/2901/snap1kw3.png
So the extra cpu core only provides more connection capacity?
I think 4-cpu license is unnecessary for me (8000 max connections, 7758 free). I only run 1 web site via this box. Do you it's the best option for me to cancel my 4-cpu license and buy an owned 1-cpu license?
Last edited by LiteSpeeder; 11-30-2008 at 09:22 AM..
|

11-30-2008, 09:26 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,603
|
|
Quote:
Originally Posted by LiteSpeeder
So the extra cpu core only provides more connection capacity?
I think 4-cpu license is unnecessary for me (8000 max connections, 7758 free). I only run 1 web site via this box. Do you it's the best option for me to cancel my 4-cpu license and buy an owned 1-cpu license?
|
More CPU core is better for serving static content and HTTPS traffic. Also better anti-DDoS capabilities.
It is up-to you. If you want to go ahead with the owned 1-CPU license, I will cancel your 4-CPU license and apply credit to the owned license.
|

11-30-2008, 09:32 AM
|
|
Senior Member
|
|
Join Date: Nov 2008
Posts: 65
|
|
Quote:
Originally Posted by mistwang
More CPU core is better for serving static content and HTTPS traffic. Also better anti-DDoS capabilities.
It is up-to you. If you want to go ahead with the owned 1-CPU license, I will cancel your 4-CPU license and apply credit to the owned license.
|
If i disable binding to three cores, can i simulate 1 cpu core version? Is it the same thing?
|

11-30-2008, 09:35 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,603
|
|
|
yes, it is the same thing.
|
| 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 07:26 AM.
|
|