Results 1 to 7 of 7
  1. #1

    Question LiteSpeed -> Apache

    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...

  2. #2
    Join Date
    Mar 2009
    Location
    Chicago, IL
    Posts
    219
    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.

  3. #3
    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)

  4. #4
    Join Date
    Mar 2009
    Location
    Chicago, IL
    Posts
    219
    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.

  5. #5
    Join Date
    Jun 2006
    Location
    NYC
    Posts
    1,446
    Quote Originally Posted by SA-ChrisM View Post
    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.
    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 FiberPeer; 07-12-2009 at 07:19 PM.
    FiberPeer.Com | | REAL DDoS Protection | Cloud Hosting | VPS | Dedicated Servers | High Bandwidth Hosting | 1Gbps-10Gbps Unmetered
    FiberPeer DDoS Mitigation | ethProxy Upgraded! | 14-Years Experience | Emergency 24/7 Support
    Visit us @ www.fiberpeer.com

  6. #6
    Join Date
    Aug 2004
    Location
    Indonesia
    Posts
    31
    try to consider cherokee web server. i believe it's more easier than apache and it's also fast

  7. #7
    Join Date
    Jun 2006
    Location
    NYC
    Posts
    1,446
    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.
    FiberPeer.Com | | REAL DDoS Protection | Cloud Hosting | VPS | Dedicated Servers | High Bandwidth Hosting | 1Gbps-10Gbps Unmetered
    FiberPeer DDoS Mitigation | ethProxy Upgraded! | 14-Years Experience | Emergency 24/7 Support
    Visit us @ www.fiberpeer.com

Similar Threads

  1. Litespeed & Apache
    By txitcs in forum Running a Web Hosting Business
    Replies: 10
    Last Post: 04-22-2009, 12:52 PM
  2. Apache or litspeed or LiteSpeed
    By mixmox in forum Hosting Security and Technology
    Replies: 15
    Last Post: 04-17-2009, 11:11 PM
  3. apache vs litespeed
    By linktome in forum Hosting Software and Control Panels
    Replies: 1
    Last Post: 07-13-2008, 08:37 PM
  4. LiteSpeed & Apache
    By CoolRock in forum Hosting Software and Control Panels
    Replies: 7
    Last Post: 03-26-2008, 11:06 AM
  5. Apache & Litespeed
    By CoolRock in forum Hosting Security and Technology
    Replies: 8
    Last Post: 12-25-2007, 06:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •