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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Pre-sale questions

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2008, 06:48 AM
LiteSpeeder LiteSpeeder is offline
Senior Member
 
Join Date: Nov 2008
Posts: 65
Question 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..
Reply With Quote
  #2  
Old 11-30-2008, 07:49 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Quote:
Originally Posted by LiteSpeeder View Post

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
Reply With Quote
  #3  
Old 11-30-2008, 08:22 AM
LiteSpeeder LiteSpeeder is offline
Senior Member
 
Join Date: Nov 2008
Posts: 65
Thank you for your answers. I'm now buying a 4-cpu monthly license. I should only install the license key and restart the litespeed, right?

Can you please show some example values for these:
http://www.litespeedtech.com/how-tos.html#qa_dos
http://www.litespeedtech.com/docs/we...maxDynRespSize
Reply With Quote
  #4  
Old 11-30-2008, 08:38 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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.
Reply With Quote
  #5  
Old 11-30-2008, 08:40 AM
LiteSpeeder LiteSpeeder is offline
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..
Reply With Quote
  #6  
Old 11-30-2008, 09:04 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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.
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 11:16 AM.



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