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: [email protected]
        ReportedBy: [email protected]


-> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to