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 2013/05/15 06:53:08 UTC

[Bug 54972] New: caught SIGTERM, shutting down; Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations

https://issues.apache.org/bugzilla/show_bug.cgi?id=54972

            Bug ID: 54972
           Summary: caught SIGTERM, shutting down; Apache/2.2.23 (Unix)
                    mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 configured --
                    resuming normal operations
           Product: Apache httpd-2
           Version: 2.2.23
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: All
          Assignee: bugs@httpd.apache.org
          Reporter: manas.panda@tcubes.com
    Classification: Unclassified

Apache httpd getting restarted every couple of minutes.

Messages in error_log.

[Wed May 15 10:06:02 2013] [notice] caught SIGTERM, shutting down
[Wed May 15 10:06:02 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23
OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations
[Wed May 15 10:10:07 2013] [notice] caught SIGTERM, shutting down
[Wed May 15 10:10:07 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23
OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations
[Wed May 15 10:12:02 2013] [notice] caught SIGTERM, shutting down
[Wed May 15 10:12:02 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23
OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations
[Wed May 15 10:14:02 2013] [notice] caught SIGTERM, shutting down
[Wed May 15 10:14:02 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23
OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations
[Wed May 15 10:16:02 2013] [notice] caught SIGTERM, shutting down
[Wed May 15 10:16:02 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23
OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations

[root@spwsnm49 httpd]# httpd -V
Server version: Apache/2.2.23 (Unix)
Server built:   Sep 26 2012 00:00:07
Server's Module Magic Number: 20051115:31
Server loaded:  APR 1.4.6, APR-Util 1.4.1
Compiled using: APR 1.4.6, APR-Util 1.4.1
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"
[root@spwsnm49 httpd]#

Debugging shows below.

#0  0x00002b343176ad63 in __select_nocancel () from /lib64/libc.so.6
#1  0x00002b3431074a95 in apr_sleep () from /usr/lib64/libapr-1.so.0
#2  0x00002b342fbe1555 in ap_wait_or_timeout ()
#3  0x00002b342fbeaf8e in ap_mpm_run ()
#4  0x00002b342fbc486c in main ()

-- 
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 54972] caught SIGTERM, shutting down; Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54972

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Eric Covener <co...@gmail.com> ---
There's no sign that httpd is issuing these signals to itself. What's the httpd
bug?

-- 
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 54972] caught SIGTERM, shutting down; Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 configured -- resuming normal operations

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54972

--- Comment #1 from Manas Ranjan Panda <ma...@tcubes.com> ---
Strace of process show below. Then restarted.

select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
wait4(-1, 0x7fff296d9d9c, WNOHANG|WSTOPPED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
wait4(-1, 0x7fff296d9d9c, WNOHANG|WSTOPPED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
wait4(-1, 0x7fff296d9d9c, WNOHANG|WSTOPPED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
wait4(-1, 0x7fff296d9d9c, WNOHANG|WSTOPPED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
wait4(-1, 0x7fff296d9d9c, WNOHANG|WSTOPPED, NULL) = 0
select(0, NULL, NULL, NULL, {1, 0})     = ? ERESTARTNOHAND (To be restarted)
--- SIGTERM (Terminated) @ 0 (0) ---
rt_sigreturn(0xf)                       = -1 EINTR (Interrupted system call)
getpgrp()                               = 6813
kill(4294960483, SIGTERM)               = 0
--- SIGTERM (Terminated) @ 0 (0) ---
rt_sigreturn(0xf)                       = 0
select(0, NULL, NULL, NULL, {0, 16384}) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
select(0, NULL, NULL, NULL, {0, 11000}) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
select(0, NULL, NULL, NULL, {0, 11000}) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
select(0, NULL, NULL, NULL, {0, 10000}) = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
select(0, NULL, NULL, NULL, {0, 3000})  = 0 (Timeout)
wait4(6816, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
6816
wait4(6817, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
6817
wait4(6818, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
6818
wait4(6819, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
6819
wait4(6821, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
6821
wait4(7285, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG|WSTOPPED, NULL) =
7285
unlink("/etc/httpd/run/httpd.pid")      = 0
write(2, "[Wed May 15 10:26:07 2013] [noti"..., 66) = 66
select(0, NULL, NULL, NULL, {0, 10000}) = 0 (Timeout)
close(14)                               = 0
close(13)                               = 0
close(12)                               = 0
close(11)                               = 0
close(10)                               = 0
close(9)                                = 0
semctl(409534483, 0, IPC_RMID, 0)       = 0
munmap(0x2b91f3f87000, 512008)          = 0
munmap(0x2b9200bd3000, 2185984)         = 0
munmap(0x2b92000f7000, 2129488)         = 0
munmap(0x2b9200317000, 2168592)         = 0
munmap(0x2b9200529000, 2312640)         = 0
munmap(0x2b920075e000, 2562464)         = 0
munmap(0x2b92009d0000, 2108192)         = 0
munmap(0x2b91ffeec000, 2141072)         = 0
munmap(0x2b91ffce5000, 2124816)         = 0
munmap(0x2b91ffadd000, 2128024)         = 0
munmap(0x2b91ff88e000, 2418464)         = 0
munmap(0x2b91ff64f000, 2353960)         = 0
munmap(0x2b91ff1a4000, 2120424)         = 0
munmap(0x2b91ff3c2000, 2672656)         = 0
munmap(0x2b91fef9c000, 2128016)         = 0
munmap(0x2b91fed84000, 2194568)         = 0
alarm(0)                                = 0
close(15)                               = 0
munmap(0x2b9249601000, 4096)            = 0
munmap(0x2b91feb0d000, 2582360)         = 0
munmap(0x2b91fe8ec000, 2229040)         = 0
munmap(0x2b91fe355000, 2149768)         = 0
munmap(0x2b91fe57a000, 3611880)         = 0
munmap(0x2b91fe13e000, 2190232)         = 0
munmap(0x2b91fdae4000, 2138024)         = 0
munmap(0x2b91fdd06000, 2296096)         = 0
munmap(0x2b91fdf37000, 2123008)         = 0
munmap(0x2b91fd6d8000, 4242160)         = 0
munmap(0x2b91fd4d0000, 2128248)         = 0
munmap(0x2b91fcba9000, 2194560)         = 0
munmap(0x2b91fcdd9000, 2963288)         = 0
munmap(0x2b91fd0ad000, 2140040)         = 0
munmap(0x2b91fd2b8000, 2191888)         = 0
munmap(0x2b91fb952000, 2432064)         = 0
munmap(0x2b91fbbbc000, 2636816)         = 0
munmap(0x2b91fc14c000, 2164464)         = 0
munmap(0x2b91fbe40000, 3194648)         = 0
munmap(0x2b91fc35d000, 2242264)         = 0
munmap(0x2b91fc581000, 2231920)         = 0
munmap(0x2b91fc7a2000, 2105040)         = 0
munmap(0x2b91fc9a4000, 2115016)         = 0
munmap(0x2b91fb50f000, 4465672)         = 0
munmap(0x2b91fb2e6000, 2264784)         = 0
munmap(0x2b91fac50000, 2160328)         = 0
munmap(0x2b91fae78000, 2345576)         = 0
munmap(0x2b91fb0b5000, 2297584)         = 0
munmap(0x2b9209501000, 1073741824)      = 0
munmap(0x2b91faa24000, 2275016)         = 0
munmap(0x2b91f3f38000, 323584)          = 0
close(8)                                = 0
close(7)                                = 0
munmap(0x2b91fa1c8000, 2277320)         = 0
munmap(0x2b91fa40c000, 2111232)         = 0
munmap(0x2b91fa610000, 2131960)         = 0
munmap(0x2b91f7ba2000, 6032408)         = 0
munmap(0x2b91f817b000, 2329440)         = 0
munmap(0x2b91f83b4000, 2160784)         = 0
munmap(0x2b91f87cd000, 2194096)         = 0
munmap(0x2b91f89e5000, 3395288)         = 0
munmap(0x2b91f960c000, 2407856)         = 0
munmap(0x2b91f8d22000, 2283888)         = 0
munmap(0x2b91f8f50000, 2706656)         = 0
munmap(0x2b91f940a000, 2103144)         = 0
munmap(0x2b91f91e5000, 2247528)         = 0
munmap(0x2b91f9858000, 3476304)         = 0
munmap(0x2b91f9ba9000, 2128848)         = 0
munmap(0x2b91f9db1000, 2102416)         = 0
munmap(0x2b91f9fb3000, 2181896)         = 0
munmap(0x2b91f799b000, 2122520)         = 0
munmap(0x2b91f778c000, 2155704)         = 0
munmap(0x2b91f7588000, 2109784)         = 0
munmap(0x2b91f7385000, 2105592)         = 0
munmap(0x2b91f717c000, 2130648)         = 0
munmap(0x2b91f6f77000, 2113968)         = 0
munmap(0x2b91f6d72000, 2113984)         = 0
munmap(0x2b91f6b6e000, 2109752)         = 0
munmap(0x2b91f673c000, 2118136)         = 0
munmap(0x2b91f695a000, 2178544)         = 0
munmap(0x2b91f6539000, 2105688)         = 0
munmap(0x2b91f6333000, 2118496)         = 0
munmap(0x2b91f6130000, 2105624)         = 0
munmap(0x2b91f4005000, 16840)           = 0
semctl(409501714, 0, IPC_RMID, 0)       = 0
close(6)                                = 0
close(5)                                = 0
close(4)                                = 0
close(3)                                = 0
exit_group(0)                           = ?
Process 6813 detached

-- 
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