![]() |
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 :) |
Quote:
All Gzip related configures are there. Those apache directive has no effect on Litespeed. Quote:
I think 4-CPU license wont lower load to 1.8-2.0, but you can give a try. Quote:
Quote:
http://www.litespeedtech.com/how-tos.html#qa_dos Quote:
Quote:
|
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 |
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. |
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! |
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. |
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? |
Quote:
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. |
Quote:
|
yes, it is the same thing.
|
| All times are GMT -7. The time now is 04:22 AM. |