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 2009/12/29 17:51:53 UTC
DO NOT REPLY [Bug 48457] New: Changes at http.conf are not
loaded/noticed after a apachectl restart
https://issues.apache.org/bugzilla/show_bug.cgi?id=48457
Summary: Changes at http.conf are not loaded/noticed after a
apachectl restart
Product: Apache httpd-2
Version: 2.2.11
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: minor
Priority: P2
Component: Runtime Config
AssignedTo: bugs@httpd.apache.org
ReportedBy: david.oliveira@inventive.pt
-> Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k
-> SunOS xxxxxxxxxxxx 5.10 Generic_138888-06 sun4u sparc SUNW, Sun-Fire-V440
-> MPM worker / all modules are shared.
After an apachectl restart the error.log splits the following content:
.
.
.
[Mon Dec 28 11:30:26 2009] [warn] child process 23595 still did not exit,
sending a SIGTERM
[Mon Dec 28 11:30:28 2009] [warn] child process 23595 still did not exit,
sending a SIGTERM
[Mon Dec 28 11:30:30 2009] [error] child process 23595 still did not exit,
sending a SIGKILL
[Mon Dec 28 11:30:31 2009] [notice] SIGHUP received. Attempting to restart
WARNING: ThreadsPerChild of 128 exceeds ThreadLimit value of 64
threads, lowering ThreadsPerChild to 64. To increase, please see the
ThreadLimit directive.
WARNING: MaxClients of 2560 would require 40 servers,
and would exceed the ServerLimit value of 20.
Automatically lowering MaxClients to 1280. To increase,
please see the ServerLimit directive.
[Mon Dec 28 11:30:32 2009] [warn] worker http://xxxxxxxxx already used by
another worker
[Mon Dec 28 11:30:32 2009] [warn] worker http://xxxxxxxxx already used by
another worker
[Mon Dec 28 11:30:32 2009] [warn] worker http://xxxxxxxxx already used by
another worker
[Mon Dec 28 11:30:32 2009] [warn] worker http://xxxxxxxxx already used by
another worker
[Mon Dec 28 11:30:32 2009] [notice] Digest: generating secret for digest
authentication ...
[Mon Dec 28 11:30:32 2009] [notice] Digest: done
[Mon Dec 28 11:30:32 2009] [warn] WARNING: Attempt to change ServerLimit or
ThreadLimit ignored during restart
[Mon Dec 28 11:30:32 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11
OpenSSL/0.9.8k configured -- resuming normal operations
At this point the ThreadLimit was already changed to 128 limit as below (in
this order):
ServerLimit 40
ThreadLimit 128
ThreadsPerChild 128
MaxClients 2560
StartServers 4
With the same configuration after a stop/start via apachectl it loads the
configurations without sending any warnings (and assumed the new ThreadLimit).
below the error.log afert stop/start:
.
.
[Mon Dec 28 11:56:32 2009] [warn] child process 26941 still did not exit,
sending a SIGTERM
[Mon Dec 28 11:56:32 2009] [warn] child process 26942 still did not exit,
sending a SIGTERM
[Mon Dec 28 11:56:32 2009] [warn] child process 26943 still did not exit,
sending a SIGTERM
[Mon Dec 28 11:56:34 2009] [notice] caught SIGTERM, shutting down
[Mon Dec 28 11:56:52 2009] [notice] Digest: generating secret for digest
authentication ...
[Mon Dec 28 11:56:52 2009] [notice] Digest: done
[Mon Dec 28 11:56:52 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11
OpenSSL/0.9.8k configured -- resuming normal operations
Can you please advise if this behavior is normal?
In http 2.2 documentation I read:
Sending the HUP or restart signal to the parent causes it to kill off its
children like in TERM, but the parent doesn't exit. It re-reads its
configuration files, and re-opens any log files. Then it spawns a new set of
children and continues serving hits.
---
Regards,
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 48457] Changes at http.conf are not loaded/noticed
after a apachectl restart
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48457
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Eric Covener <co...@gmail.com> 2009-12-29 09:21:12 UTC ---
"This directive sets the maximum configured value for ThreadsPerChild for the
lifetime of the Apache process. Any attempts to change this directive during a
restart will be ignored, but ThreadsPerChild can be modified during a restart
up to the value of this directive."
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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