Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Any tips on getting over 5000 concurrent apache connections?

Discussion in 'Workarounds and Optimization' started by WebHostPro, Dec 16, 2009.

  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,618
    Likes Received:
    11
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have a new client that needs about 10000 concurrent download connections on a server but only for a couple days.

    Anyone have any tips or ideas on how to tweak a server to handle this amount of connections to apache?

    Obviously just setting the apache concurrent max connections to 5000 is not going to cover it.

    Thanks!
     
  2. chuza

    chuza Well-Known Member

    Joined:
    Jul 4, 2008
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    56
    I believe it is not achievable realistically without taking the server down (or apparently at least because of because of being too busy) unless you have a huge server with tonnes of RAM and connected directly to a Gigabit connection and also assuming that the 10k connections are going to just download a simple html file saying "Hello" and no MySQL involved obviously. :-D
     
  3. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    166
    Load balance it across multiple servers, and lite speed would probably work better than apache for that:
    Home
     
  4. DjiXas

    DjiXas Well-Known Member

    Joined:
    Feb 10, 2007
    Messages:
    294
    Likes Received:
    0
    Trophy Points:
    166
    Are you using worker or prefork?
     
  5. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,618
    Likes Received:
    11
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Apache, single server
     
  6. DjiXas

    DjiXas Well-Known Member

    Joined:
    Feb 10, 2007
    Messages:
    294
    Likes Received:
    0
    Trophy Points:
    166
    ???

    Those are Apache modules, see for some optimization guides and pick best one for you, depending on hardware.
     
Loading...

Share This Page