can't get MaxClients changes to take in httpd.conf

Discussion in 'Apache' started by jjmacker, Nov 14, 2007.

  1. #1
    Hi,

    I've got a server that's used for image hosting and hosts a few websites. My host upgraded the server from Apache 1.3 to Apache 2.2 and now I can't get any changes to the httpd.conf file to take effect.

    I need to up MaxClients to 1024 and set the keepalive timeout down to 2... so I entered the following into httpd.conf:

    ServerLimit 1024
    MaxClients 1024
    KeepAlive On
    KeepAliveTimeout 2

    Then I restart Apache, but I'm still flatlined at 256 connections.

    It looks like they just did a standard installation (prefork) of Apache. Any thought sould be greatly appreciated.

    Thanks
     
    jjmacker, Nov 14, 2007 IP
  2. jjmacker

    jjmacker Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    OK... problem solved. Posting this for the benefit of anybody else who has a similar problem.

    Turns out that those directives had to be changed 2 places... in httpd.conf and also in:

    /etc/httpd/conf/extra/httpd-mpm.conf

    Non sure I have a complete understanding, but it's working now.
     
    jjmacker, Nov 14, 2007 IP