You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2017/01/17 17:41:07 UTC
[Bug 60598] New: Graceful restart do not follow changes in
MaxRequestWorkers mpm_prefork
https://bz.apache.org/bugzilla/show_bug.cgi?id=60598
Bug ID: 60598
Summary: Graceful restart do not follow changes in
MaxRequestWorkers mpm_prefork
Product: Apache httpd-2
Version: 2.4.7
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: All
Assignee: bugs@httpd.apache.org
Reporter: bistrulli@gmail.com
Target Milestone: ---
With multiple graceful restarts apache do not spawn the specified number of
processes as indicated by the mpm_prefork MaxRequestWorkers parameter.
To reproduce the bug take the following steps:
1) start apache with following mpm_prefork.conf file
<IfModule mpm_prefork_module>
MaxRequestWorkers 6
MaxRequestsPerChild 0
</IfModule>
then the 6 children processes are spawned as expected
2) change the mpm_prefork.conf and restart apache gracefully
(sudo apache2ctl -k graceful)
<IfModule mpm_prefork_module>
MaxRequestWorkers 2
MaxRequestsPerChild 0
</IfModule>
the number of children process is reduced to 2 as expected
3) change the mpm_prefork.conf and restart apache gracefully
(sudo apache2ctl -k graceful)
<IfModule mpm_prefork_module>
MaxRequestWorkers 6
MaxRequestsPerChild 0
</IfModule>
the number of children processes still remain fixed to 2 (observed with
(heavy/soft/zero) load on the server). Generally what we saw is that this
behavior happens after a chain of graceful restart when MaxRequestWorkers is
decreased then increased.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 60598] Graceful restart do not follow changes in
MaxRequestWorkers mpm_prefork
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60598
Szőgyényi Gábor <sz...@freemail.hu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |szg0000@freemail.hu
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 60598] Graceful restart do not follow changes in
MaxRequestWorkers mpm_prefork
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60598
Emilio <bi...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bistrulli@gmail.com
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 60598] Graceful restart do not follow changes in
MaxRequestWorkers mpm_prefork
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60598
Emilio <bi...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|All |mpm_prefork
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org