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 DWHS.net, Dec 16, 2009.

  1. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    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:
    6
    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:
    16
    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:
    16
    Are you using worker or prefork?
     
  5. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

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

    DjiXas Well-Known Member

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

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

Share This Page