Bug 60218 - Apache shutdown automatically
Summary: Apache shutdown automatically
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: support (show other bugs)
Version: 2.4.6
Hardware: Other Linux
: P2 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-07 16:36 UTC by DellTeam
Modified: 2017-03-02 11:21 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DellTeam 2016-10-07 16:36:07 UTC
Hi,

We have 5 production servers running apache2.4.6 on Linux, the apache was shutdown with below message around the same time on all 5 servers. We had to manually started the process. Could you please let me know the cause of the issue?

08:35:09.078081 2016] [mpm_prefork:notice] [pid 26441] AH00170: caught SIGWINCH, shutting down gracefully


---------
[Fri Oct 07 08:35:30.349441 2016] [mpm_prefork:notice] [pid 8423] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Oct 07 08:37:26.682654 2016] [jk:warn] [pid 2632] No JkShmFile defined in httpd.conf. Using default /hilton/cct/apps/journey/apache/logs/jk-runtime-status
[Fri Oct 07 08:37:26.696277 2016] [so:warn] [pid 2632] AH01574: module headers_module is already loaded, skipping
[Fri Oct 07 08:37:26.715912 2016] [so:warn] [pid 2632] AH01574: module ssl_module is already loaded, skipping
[Fri Oct 07 08:37:26.715968 2016] [so:warn] [pid 2632] AH01574: module rewrite_module is already loaded, skipping
[Fri Oct 07 08:37:26.721436 2016] [auth_digest:notice] [pid 2632] AH01757: generating secret for digest authentication ...
[Fri Oct 07 08:37:26.722234 2016] [lbmethod_heartbeat:notice] [pid 2632] AH02282: No slotmem from mod_heartmonitor
[Fri Oct 07 08:37:26.723366 2016] [jk:warn] [pid 2632] No JkShmFile defined in httpd.conf. Using default /hilton/cct/apps/journey/apache/logs/jk-runtime-status
[Fri Oct 07 08:37:26.744869 2016] [mpm_prefork:notice] [pid 2632] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_jk/1.2.41 configured -- resuming normal operations
[Fri Oct 07 08:37:26.744902 2016] [core:notice] [pid 2632] AH00094: Command line: '/usr/sbin/httpd -f /hilton/cct/apps/journey/apache/conf/httpd.conf -D FOREGROUND'
[Fri Oct 07 08:37:26.752806 2016] [mpm_prefork:notice] [pid 2632] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Oct 07 08:37:28.745515 2016] [jk:warn] [pid 3060] No JkShmFile defined in httpd.conf. Using default /hilton/cct/apps/journey/apache/logs/jk-runtime-status
[Fri Oct 07 08:37:28.761200 2016] [so:warn] [pid 3060] AH01574: module headers_module is already loaded, skipping
[Fri Oct 07 08:37:28.777616 2016] [so:warn] [pid 3060] AH01574: module ssl_module is already loaded, skipping
[Fri Oct 07 08:37:28.777677 2016] [so:warn] [pid 3060] AH01574: module rewrite_module is already loaded, skipping
[Fri Oct 07 08:37:28.781948 2016] [auth_digest:notice] [pid 3060] AH01757: generating secret for digest authentication ...
[Fri Oct 07 08:37:28.782700 2016] [lbmethod_heartbeat:notice] [pid 3060] AH02282: No slotmem from mod_heartmonitor
[Fri Oct 07 08:37:28.783844 2016] [jk:warn] [pid 3060] No JkShmFile defined in httpd.conf. Using default /hilton/cct/apps/journey/apache/logs/jk-runtime-status
[Fri Oct 07 08:37:28.804338 2016] [mpm_prefork:notice] [pid 3060] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_jk/1.2.41 configured -- resuming normal operations
[Fri Oct 07 08:37:28.804378 2016] [core:notice] [pid 3060] AH00094: Command line: '/usr/sbin/httpd -f /hilton/cct/apps/journey/apache/conf/httpd.conf -D FOREGROUND'
[Fri Oct 07 08:37:28.808591 2016] [mpm_prefork:notice] [pid 3060] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Oct 07 08:41:52.209078 2016] [jk:warn] [pid 3939] No JkShmFile defined in httpd.conf. Using default /hilton/cct/apps/journey/apache/logs/jk-runtime-status
[Fri Oct 07 08:41:52.221410 2016] [so:warn] [pid 3939] AH01574: module headers_module is already loaded, skipping
[Fri Oct 07 08:41:52.240100 2016] [so:warn] [pid 3939] AH01574: module ssl_module is already loaded, skipping
[Fri Oct 07 08:41:52.240140 2016] [so:warn] [pid 3939] AH01574: module rewrite_module is already loaded, skipping
[Fri Oct 07 08:41:52.244354 2016] [auth_digest:notice] [pid 3939] AH01757: generating secret for digest authentication ...
[Fri Oct 07 08:41:52.245122 2016] [lbmethod_heartbeat:notice] [pid 3939] AH02282: No slotmem from mod_heartmonitor
[Fri Oct 07 08:41:52.246328 2016] [jk:warn] [pid 3939] No JkShmFile defined in httpd.conf. Using default /hilton/cct/apps/journey/apache/logs/jk-runtime-status
[Fri Oct 07 08:41:52.268473 2016] [mpm_prefork:notice] [pid 3939] AH00163: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_jk/1.2.41 configured -- resuming normal operations
[Fri Oct 07 08:41:52.268518 2016] [core:notice] [pid 3939] AH00094: Command line: '/usr/sbin/httpd -f /hilton/cct/apps/journey/apache/conf/httpd.conf -D FOREGROUND'
-------------
Comment 1 Luca Toscano 2017-02-04 15:27:19 UTC
Hi!

https://bz.apache.org/bugzilla/show_bug.cgi?id=50669 explains what's happening:

"""
SIGWINCH is used to signal a windows size change to the applications running on a terminal. Due to the lack of other signal numbers and given the fact that httpd normally runs detached from a terminal the SIGWINCH signal was chosen to instruct httpd to do a graceful shutdown. So this works as designed.
"""

How do you start httpd? Is it from a terminal?

Luca