抓到SIGTERM,closurescentos服务器

我有一个centos服务器,当我启动Apache时,我在日志中得到以下内容:

[Tue Dec 13 02:26:54 2011] [notice] caught SIGTERM, shutting down [Tue Dec 13 02:26:55 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue Dec 13 02:26:56 2011] [notice] ModSecurity for Apache/2.5.9 (http://www.modsecurity.org/) configured. [Tue Dec 13 02:26:56 2011] [notice] Original server signature: Apache/2.2.21 (EL) DAV/2 [Tue Dec 13 02:26:56 2011] [notice] Digest: generating secret for digest authentication ... [Tue Dec 13 02:26:56 2011] [notice] Digest: done [Tue Dec 13 02:26:57 2011] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Tue Dec 13 02:26:57 2011] [notice] Apache/2.2.21 (Unix) DAV/2 PHP/5.1.6 mod_python/3.2.8 Python/2.4.3 Apache/2.2.0 (Fedora) mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations 

任何人都可以帮助修复:捕获SIGTERM,closures我已经安装了modsecurity,MaxClients设置为256,我肯定有足够的内存。 也没有crons设置。 我得到的错误是当我启动/重新启动Apache。 Centos 5.7 64位最近已经安装在服务器上。

最后我也尝试重新安装apache。

谢谢

你是否通过/etc/init.d/httpd restart重新启动Apache?

如果你是,请注意,“重启”实际上是一个“停止”,然后是“开始”。 停止被定义为:

 stop() { echo -n $"Stopping $prog: " killproc -p ${pidfile} -d ${STOP_TIMEOUT} $httpd RETVAL=$? echo [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile} } 

和killproc:

killproc将信号发送到使用指定可执行文件的所有进程。 如果没有指定信号名称,则发送信号SIGTERM。

这意味着你看到“SIGTERM,closures”信息是正常的。