How to Increase Apache MaxClients Limit and ServerLimit




+ Reply to Thread
Results 1 to 4 of 4

Thread: How to Increase Apache MaxClients Limit and ServerLimit

  1. #1
    AP admin's Avatar
    AP admin is offline Administrator
    Join Date
    Jul 2010
    Posts
    100
    Feedback Score
    0

    How to Increase Apache MaxClients Limit and ServerLimit

    MaxClients actually tells the apache to allow this many concurrent clients.

    Normally this limit is at 150. You can change this limit by editing your httpd.conf file.

    httpd.conf is normally located at /etc/httpd/conf/httpd.conf

    Code:
    nano /etc/httpd/conf/httpd.conf
    Press CTRL + W to find maxclients

    type
    Code:
    MaxClients
    Change MaxClients from 150 to any value below 256.

    By Default MaxClients Maximum Value is 256.

    If you want to increase it more above 256 you can do that but for that you need to follow the steps below.

    You need to change the
    ServerLimit directive to let the value of MaxClients above 256 work.
    By deafult ServerLimit is 256 (and is usually not already there in httpd.conf). If it is in your httpd.conf increase it above 256 or if it is not there add it in your httpd.conf

    Code:
    ServerLimit 500
    Now you can change your MaxClients uptop 500

    Code:
    <IfModule mpm_prefork_module>
        StartServers          5
        MinSpareServers       5
        MaxSpareServers      10
        MaxClients          500
        MaxRequestsPerChild   0
        ServerLimit   500
    
    </IfModule>

  2. #2
    tornadoman is offline Junior Member
    Join Date
    Sep 2011
    Posts
    2
    Feedback Score
    0
    Great tutorial. Easy to follow

  3. #3
    t505ksm is offline Junior Member
    Join Date
    Aug 2011
    Posts
    1
    Feedback Score
    0
    trying it now thanks

  4. #4
    rirusscyb2 is offline Junior Member
    Join Date
    Jul 2011
    Posts
    4
    Feedback Score
    0
    Great tut

+ Reply to Thread

Visitors found this page by searching for:

serverlimit apache

maxclients httpd.conf

httpd.conf maxclients

apache maxclients limit

ServerLimit vs maxclients

apache MaxClients

serverlimit maxclients

maxclients in httpd.confServerLimit httpd ServerLimit httpd.confapache change maxclientshttpd serverlimitserverlimit 256httpd.conf serverlimitapache httpd.conf serverlimitapache serverlimit vs maxclientsapache ServerLimit MaxCLientshow to increase server limit apachehow to check serverlimit apacheapache increase maxclientsMaxClients 500increase MAXCLIENTapache check maxclient limitapache2 256 thread limitedit maxClients

Posting Permissions

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