httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben RUBSON <ben.rub...@gmail.com>
Subject Re: [users@httpd] Restart or Reload after changing MaxClients and ServerLimit
Date Sun, 24 Apr 2016 19:22:17 GMT
https://httpd.apache.org/docs/current/en/mod/mpm_common.html#serverlimit <https://httpd.apache.org/docs/current/en/mod/mpm_common.html#serverlimit>

> Le 24 avr. 2016 à 21:20, Cohen, Laurence <lcohen@novetta.com> 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@gmail.com <mailto:ben.rubson@gmail.com>>
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@novetta.com <mailto:lcohen@novetta.com>>
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@gmail.com <mailto:ben.rubson@gmail.com>>
wrote:
>> Hi,
>> 
>> reload will do it !
>> 
>> Ben
>> 
>> 
>>> Le 24 avr. 2016 à 17:14, Cohen, Laurence <lcohen@novetta.com <mailto:lcohen@novetta.com>>
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
>>> 
>> 
>> 
>> 
>> 
>> -- 
>> 
>> Larry Cohen
>> System Administrator
>> 
>> 12021 Sunset Hills Road, Suite 400
>> Reston, VA 20190
>> Email  lcohen@novetta.com <http://novetta.com/> 
>> Office  703-885-1064
> 
> 
> 
> 
> -- 
> 
> Larry Cohen
> System Administrator
> 
> 12021 Sunset Hills Road, Suite 400
> Reston, VA 20190
> Email  lcohen@novetta.com <http://novetta.com/> 
> Office  703-885-1064


Mime
View raw message