Apache过2-3天自动停止运行,发生错误,求大神帮忙!!急!!

Apache日志提示:
[Tue Oct 31 09:33:50.322309 2017] [mpm_winnt:notice] [pid 3868:tid 532] AH00358: Child: Process exiting because it reached MaxConnectionsPerChild. Signaling the parent to restart a new child process.
[Tue Oct 31 09:33:50.322309 2017] [mpm_winnt:notice] [pid 4056:tid 524] AH00424: Parent: Received restart signal -- Restarting the server.
[Tue Oct 31 09:34:25.072291 2017] [mpm_winnt:notice] [pid 3868:tid 532] AH00362: Child: Waiting 30 more seconds for 1 worker threads to finish.
[Tue Oct 31 09:34:50.337911 2017] [mpm_winnt:notice] [pid 3868:tid 532] AH00364: Child: All worker threads have exited.
[Tue Oct 31 09:56:21.962938 2017] [core:warn] [pid 2964:tid 528] AH00098: pid file C:/phpStudy/Apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Oct 31 09:56:22.087938 2017] [mpm_winnt:notice] [pid 2964:tid 528] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2j PHP/5.4.45 configured -- resuming normal operations
[Tue Oct 31 09:56:22.087938 2017] [mpm_winnt:notice] [pid 2964:tid 528] AH00456: Server built: Jul 1 2016 16:42:20
[Tue Oct 31 09:56:22.087938 2017] [core:notice] [pid 2964:tid 528] AH00094:
Command line: 'C:\\phpStudy\\Apache\\bin\\httpd.exe -d C:/phpStudy/Apache'
[Tue Oct 31 09:56:22.087938 2017] [mpm_winnt:notice] [pid 2964:tid 528] AH00418: Parent: Created child process 3276
[Tue Oct 31 09:56:22.509786 2017] [mpm_winnt:notice] [pid 3276:tid 360] AH00354: Child: Starting 150 worker threads.
[Tue Oct 31 10:03:06.103552 2017] [mpm_winnt:crit] [pid 3276:tid 360] AH02538: Child: Parent process exited abruptly. Child process is ending
[Tue Oct 31 10:03:19.353550 2017] [core:warn] [pid 3788:tid 528] AH00098: pid file C:/phpStudy/Apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Oct 31 10:03:19.494173 2017] [mpm_winnt:notice] [pid 3788:tid 528] AH00455: Apache/2.4.23 (Win32) OpenSSL/1.0.2j PHP/5.4.45 configured -- resuming normal operations
[Tue Oct 31 10:03:19.494173 2017] [mpm_winnt:notice] [pid 3788:tid 528] AH00456: Server built: Jul 1 2016 16:42:20
[Tue Oct 31 10:03:19.494173 2017] [core:notice] [pid 3788:tid 528] AH00094: Command line: 'C:\\phpStudy\\Apache\\bin\\httpd.exe -d C:/phpStudy/Apache'
[Tue Oct 31 10:03:19.494173 2017] [mpm_winnt:notice] [pid 3788:tid 528] AH00418: Parent: Created child process 4088
[Tue Oct 31 10:03:19.947297 2017] [mpm_winnt:notice] [pid 4088:tid 532] AH00354: Child: Starting 150 worker threads.
当前问题共有如下(1)个解决方案
  • 出门在外_1
    出门在外_1
    扩大下线程数ThreadsPerChild 300 MaxRequestsPerChild 1000自行修改相应的数字再观察下,如果是服务器内存太小就算了扛不住
上一篇:服务器租用主机托管优势体现在哪些方面
下一篇:自用图床用什么配置的服务器比较好