当前位置:论坛首页 > Windows面板 > 求助

【已完成】网站经常打不开,Apache日志帮我分析一下

发表在 Windows面板2023-1-28 15:21 [复制链接] 4 3863

本帖最后由 堡塔运维小林 于 2023-3-25 15:43 编辑

Apache 2.4.54
PHP-7.0
MySQL 5.6.51
Windows Server 2008 R2 Enterprise

下面是 Apache日志帮我分析一下

[Sat Jan 28 12:21:09.814054 2023] [mpm_winnt:notice] [pid 356:tid 432] AH00456: Server built: Jun 23 2022 13:45:17
[Sat Jan 28 12:21:09.814054 2023] [core:notice] [pid 356:tid 432] AH00094: Command line: 'D:\\BtSoft\\apache\\bin\\httpd.exe -d D:/BtSoft/apache'
[Sat Jan 28 12:21:09.814054 2023] [mpm_winnt:notice] [pid 356:tid 432] AH00418: Parent: Created child process 6120
[Sat Jan 28 12:21:10.829692 2023] [mpm_winnt:notice] [pid 13864:tid 448] AH00364: Child: All worker threads have exited.
[Sat Jan 28 12:21:11.485950 2023] [ssl:warn] [pid 6120:tid 448] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Jan 28 12:21:11.610952 2023] [mpm_winnt:notice] [pid 6120:tid 448] AH00354: Child: Starting 1500 worker threads.
[Sat Jan 28 12:21:19.455308 2023] [fcgid:error] [pid 13864] FastCGI process 7012 still did not exit, terminating forcefully
[Sat Jan 28 12:21:19.455308 2023] [fcgid:error] [pid 13864] FastCGI process 3396 still did not exit, terminating forcefully
[Sat Jan 28 12:21:19.455308 2023] [fcgid:error] [pid 13864] FastCGI process 27236 still did not exit, terminating forcefully
[Sat Jan 28 12:21:19.455308 2023] [fcgid:error] [pid 13864] FastCGI process 5652 still did not exit, terminating forcefully
[Sat Jan 28 12:22:21.782572 2023] [fcgid:warn] [pid 6120:tid 556] mod_fcgid: cleanup zombie process 16040
[Sat Jan 28 15:13:18.830423 2023] [mpm_winnt:notice] [pid 6120:tid 448] AH00358: Child: Process exiting because it reached MaxConnectionsPerChild. Signaling the parent to restart a new child process.
[Sat Jan 28 15:13:18.830423 2023] [mpm_winnt:notice] [pid 356:tid 432] AH00424: Parent: Received restart signal -- Restarting the server.
[Sat Jan 28 15:13:18.908549 2023] [ssl:warn] [pid 356:tid 432] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Jan 28 15:13:18.924174 2023] [mpm_winnt:notice] [pid 356:tid 432] AH00455: Apache/2.4.54 (Win64) OpenSSL/1.1.1p mod_fcgid/2.3.9a configured -- resuming normal operations
[Sat Jan 28 15:13:18.924174 2023] [mpm_winnt:notice] [pid 356:tid 432] AH00456: Server built: Jun 23 2022 13:45:17
[Sat Jan 28 15:13:18.924174 2023] [core:notice] [pid 356:tid 432] AH00094: Command line: 'D:\\BtSoft\\apache\\bin\\httpd.exe -d D:/BtSoft/apache'
[Sat Jan 28 15:13:18.924174 2023] [mpm_winnt:notice] [pid 356:tid 432] AH00418: Parent: Created child process 19984
[Sat Jan 28 15:13:20.049188 2023] [ssl:warn] [pid 19984:tid 448] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Jan 28 15:13:20.158565 2023] [mpm_winnt:notice] [pid 19984:tid 448] AH00354: Child: Starting 1500 worker threads.
[Sat Jan 28 15:13:31.158706 2023] [mpm_winnt:notice] [pid 6120:tid 448] AH00364: Child: All worker threads have exited.
[Sat Jan 28 15:13:39.674440 2023] [fcgid:error] [pid 6120] FastCGI process 21384 still did not exit, terminating forcefully
[Sat Jan 28 15:13:39.674440 2023] [fcgid:error] [pid 6120] FastCGI process 15676 still did not exit, terminating forcefully

使用道具 举报 只看该作者 回复
发表于 2023-1-28 15:44:14 | 显示全部楼层
您好,这个可能是apache进程假死,然后导致您网站无法访问呢。
网站访问并发是否很高呢?您那边可以调整下ThreadsPerChild或者MaxRequestsPerChild试试

如果还是不行的话,可以考虑换到nginx
使用道具 举报 回复 支持 反对
发表于 2023-1-29 09:06:16 | 显示全部楼层
本帖最后由 fkenuiabcd 于 2023-1-29 09:26 编辑
堡塔运维向樛木 发表于 2023-1-28 15:44
您好,这个可能是apache进程假死,然后导致您网站无法访问呢。
网站访问并发是否很高呢?您那边可以调整下T ...

面板里面在那里调整的这二个  ThreadsPerChild或者MaxRequestsPerChild
360截图20230129092619625.jpg
使用道具 举报 回复 支持 反对
发表于 2023-1-29 10:55:26 | 显示全部楼层
堡塔运维向樛木 发表于 2023-1-28 15:44
您好,这个可能是apache进程假死,然后导致您网站无法访问呢。
网站访问并发是否很高呢?您那边可以调整下T ...

按你的重装安装过,网站打不开,
360截图20230129105509569.jpg
使用道具 举报 回复 支持 反对
发表于 2023-3-25 15:40:16 | 显示全部楼层
fkenuiabcd 发表于 2023-1-29 10:55
按你的重装安装过,网站打不开,

您好,您的问题是否解决了呢?如果还未解决,可重新发帖咨询
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析
快速回复 返回顶部 返回列表