Portal Home > Knowledgebase > Articles Database > LiteSpeed -> Apache


LiteSpeed -> Apache




Posted by goooh, 07-12-2009, 01:24 PM
I no longer have the funds for a LSWS lic, so I need to move to Apache. I run CPanel and need help in configuring Apache to be able to take 120 requests/sec and no crap out. I've never worked with Apache since been using LiteSpeed for over 2 years, so I need some advice on how to set it up, compile, configure, ect...

Posted by SA-ChrisM, 07-12-2009, 03:48 PM
120 requests a second is really not a problem at all, however there are a few things you should take into consideration. 1. Your server resources... Can you tell us a bit more about what you're working with here? 2. Page content and makeup. i.e, static files, mysql driven, etc? Apache 2.2 can be tuned to be *really* fast and run on par with lighttpd quite easily, however you need to make sure you have the resources to do so. For example, this probably won't fly with dynamic content on a VPS. =) Also to get started, /scripts/easyapache is your friend on cPanel. You can use that to do and handle the base Apache 2.2 Build. There's a few different things to change up a bit though once you've done that base installation as out of the box it'll be limited to 256 child processes which you'll probably want to increase. Also another question is are these 120 connections per second from 120 different clients, or 60 clients making 2 connections, etc. The makeup of the traffic would help us a bit as well.

Posted by goooh, 07-12-2009, 04:28 PM
120 req/sec is in total. Currently, I'm running about 26 active clients and each site makes user of dynamic/mysql content. I'm running a Q8300/4GB Ram. (dedicated)

Posted by SA-ChrisM, 07-12-2009, 05:46 PM
Oh that shouldn't be a problem at all then. I'd think you can handle that just fine with a default apache 2.2 installation. If your server seems a bit too busy or you see issues with 2.2 default, you can recompile again (yay easyapache) with a different worker. mpm_worker seems to be pretty awesome from a resource and speed standpoint.

Posted by PeakVPN-KH, 07-12-2009, 07:13 PM
Agreed. Depending on the types of files you're hosting Apache 2.2 can outperform Litespeed in several areas. Plus...It's free Can you tell us what kinds of sites your hosting and post your httpd.conf settings, I'm sure we can help you tweak them with your server specs. Last edited by PeakVPN-KH; 07-12-2009 at 07:19 PM.

Posted by Sentono, 07-13-2009, 12:02 AM
try to consider cherokee web server. i believe it's more easier than apache and it's also fast

Posted by PeakVPN-KH, 07-13-2009, 12:26 AM
Cherokee is interesting yet doesn't have any real control panel support. Neither is it very mature in terms of using it in a production environment. I'd still recommend highly against this. If you wanted to use something that is mature and stable over Apache (without control panel support) then I'd recommend nginx.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Reselling 'the cloud' (Views: 541)