
11-30-2008, 07:49 AM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,585
|
|
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
|