Personal Loans - Halloween Costumes - Inmobiliarias Denia - Loans - Online Advertising

PDA

View Full Version : can't get MaxClients changes to take in httpd.conf


jjmacker
Nov 14th 2007, 1:34 pm
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 14th 2007, 5:10 pm
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.