AH00098 pid file overwritten

时间:2022-07-09 07:38:48

错误日志:

由于定义了:

<IfModule mpm_winnt_module>
ThreadsPerChild 450
MaxConnectionsPerChild 4000
AcceptFilter http none
</IfModule>

apache 隔断时间会重启。有时候会出现以下的错误日志:

[Fri Mar 27 16:52:25.508461 2015] [mpm_winnt:notice] [pid 704:tid 1668] AH00358: Child: Process exiting because it reached MaxConnectionsPerChild. Signaling the parent to restart a new child process.
[Fri Mar 27 16:52:25.508461 2015] [mpm_winnt:notice] [pid 1036:tid 468] AH00424: Parent: Received restart signal -- Restarting the server.
[Fri Mar 27 16:52:27.518668 2015] [mpm_winnt:notice] [pid 704:tid 1668] AH00364: Child: All worker threads have exited.
Starting the 'Apache2.4' service
The 'Apache2.4' service is running.
ore:warn] [pid 5828:tid 360] AH00098: pid file D:/xwamp/Apache/2.4.12-win32-VC9/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

就这样挂了,当然可以调整 定义的参数值,减少出现这样的可能性。

可以使用这个再次运行:

httpd.exe -k stop
httpd.exe -k START

但是 是什么原因造成的呢。网上写的就是 PHP加载的dll的问题。取消 这些扩展就可以了。

这难道也算是解决问题的办法呀????