Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2003

    Max Connections Adjustments:

    How do you adjust the maximum number of concurrent connections for apache to accept? What is a good amount to be safe?


  2. #2
    Join Date
    Apr 2004
    Hamilton, Ontario
    there is a 'maxclients' option in the config file, but by default it can't go over 256
    if you want a higher value, you need to edit httpd.h and change the hard limit

  3. #3
    On Apache 2 you can set the MaxClients (maximum number of server processes allowed to start).

    Also you should consider having a generous MaxSpareThreads/MaxSpareServers. i.e. the maximum number of handlers waiting idly for a new connection to come in.

    IIRC the limit on Apache1.3 was 255 connections (unless you recompiled apahce). I'm not sure on Apache 2. Try it and see. - VPS Hosting and Dedicated Server Hosting since 2003 - Peace of Mind Web Site Monitoring

  4. #4
    Join Date
    Feb 2004
    cPanel automatically adjust it to 260, no more. You can set it higher, and see what happens.

    Keep MaxSpareServers to the possible minimum, 8 or 10, the same of max requests per child.

    Well, I think that every server has its own individuality and requires special, even unique treatment. One have to be a good psycho-analyst to cope with those characters.:-)
    :: :: :: :: :: ::
    :: VDSP.Net :: Directory of virtual and dedi serv providers by location and price

Posting Permissions

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