1

我已经安装apache httpd 2.4.34SLES 15并且有六个httpd进程正在运行。

当我向进程发送信号SIGTERMhttpd,所有六个httpd进程都无法接收信号SIGTERM(我已将进程gdb附加httpd到捕获信号SIGTERM),但我kill 15 11143通过命令 strace 发现返回 0。但是 httpd 可以接收信号SIGKILL,这很奇怪。

apache httpd 2.4.34在其他平台( )上运行可以正常接收和SLES12, SLES11, RHEL7处理信号SIGTERM

有没有人遇到这种现象

+++
# cat /etc/os-release
NAME="SLES"
VERSION="15"
VERSION_ID="15"
PRETTY_NAME="SUSE Linux Enterprise Server 15"
ID="sles"
ID_LIKE="suse"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:15"

#uname -a
Linux linux-iv0h 4.12.14-23-default #1 SMP Tue May 29 21:04:44 UTC 2018 (cd0437b) x86_64 x86_64 x86_64 GNU/Linux

#ps aux|grep httpd
root     11143  0.0  0.6  23612  6380 ?        Ss   04:33   0:00 ./httpd
nobody   11144  0.0  0.3  23612  3248 ?        S    04:33   0:00 ./httpd
nobody   11145  0.0  0.3  23612  3248 ?        S    04:33   0:00 ./httpd
nobody   11146  0.0  0.3  23612  3248 ?        S    04:33   0:00 ./httpd
nobody   11147  0.0  0.3  23612  3248 ?        S    04:33   0:00 ./httpd
nobody   11148  0.0  0.3  23612  3248 ?        S    04:33   0:00 ./httpd
+++
4

0 回答 0