Re: Restart or Reload after changing MaxClients and ServerLimit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks,

I should have mentioned that I'm running Apache HTTPD 2.2 on a RHEL6.7 system.  There it is tied to MaxClients which is getting changed at restart.  I believe, according to this that I need to do a full stop and start to get this to work.

Thanks for your help!

Larry

On Sun, Apr 24, 2016 at 3:22 PM, Ben RUBSON <ben.rubson@xxxxxxxxx> wrote:
https://httpd.apache.org/docs/current/en/mod/mpm_common.html#serverlimit

Le 24 avr. 2016 à 21:20, Cohen, Laurence <lcohen@xxxxxxxxxxx> a écrit :

Thank you!  Which doc are you reading?  I'd like to look at it.

On Sun, Apr 24, 2016 at 3:08 PM, Ben RUBSON <ben.rubson@xxxxxxxxx> wrote:
Reading the doc, seems that ServerLimit is related to MaxRequestWorkers (which has a default set to 256).

Ben



Le 24 avr. 2016 à 20:52, Cohen, Laurence <lcohen@xxxxxxxxxxx> a écrit :

Hello,

While reloading httpd did increase MaxClients to 400 as specified, it did not increase ServerLimit to 400 as specified.  What is worse is that since ServerLimit remained at 256, this caused MaxClients to be reduced to 256 since ServerLimit seems to be the hard limit for MaxClients.

Even more frustrating is that when I did a service httpd restart, it not only did not increase ServerLimit to 400, but it threw an error that the attempt to increase ServerLimit during a restart was ignored.

Any ideas why I cannot increase the ServerLimit?

Thanks,

Laurence Cohen

On Sun, Apr 24, 2016 at 11:15 AM, Ben RUBSON <ben.rubson@xxxxxxxxx> wrote:
Hi,

reload will do it !

Ben


Le 24 avr. 2016 à 17:14, Cohen, Laurence <lcohen@xxxxxxxxxxx> a écrit :

Hi,

I need to increase my httpd server's MaxClients and ServerLimit.  Can I just do a

service httpd reload

to load the new settings?

Or do I need to do a

service httpd restart

to load the new settings?

This is on a production server with active users, so obviously the former is preferable.

Thanks,

Larry Cohen





--
www.novetta.com
Larry Cohen
System Administrator

12021 Sunset Hills Road, Suite 400
Reston, VA 20190
Email  lcohen@novetta.com
Office  703-885-1064





--
www.novetta.com
Larry Cohen
System Administrator

12021 Sunset Hills Road, Suite 400
Reston, VA 20190
Email  lcohen@novetta.com
Office  703-885-1064





--

www.novetta.com

Larry Cohen

System Administrator


12021 Sunset Hills Road, Suite 400

Reston, VA 20190

Email  lcohen@novetta.com

Office  703-885-1064


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux