【待反馈】apache总是假死,已经有3个多月了
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:宝塔7.8.Apache/2.4.52 (Win64) OpenSSL/1.1.1m mod_fcgid/2.3.9a系统版本:win2012
问题描述:网站莫名其妙打不开,能一天出现一次,也可能7天,也可能2天。没有固定。每次重启apache就好了
日志在2楼 这个时候是能打开的,无法打开的时候,出现日志也是差不多。每次都是重启apache就好了
AH01630: client denied by server configuration: A:/wwwroot/wwww/server-status AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name AH00098: pid file B:/BtSof/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? AH01873: Init: Session Cache is not configured AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name AH00455: Apache/2.4.52 (Win64) OpenSSL/1.1.1m mod_fcgid/2.3.9a configured -- resuming normal operations AH00456: Server built: Dec 17 2021 15:13:12 AH00094: Command line: 'z:\\BtSoft\\apache\\bin\\httpd.exe -d B:/BtSof/apache' AH00418: Parent: Created child process 42836 AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name AH01873: Init: Session Cache is not configured
下面这个时候是无法打开的
End of script output before headers: index.php, referer: https://servicewechat.com/wx4a17b13835116d53/47/page-frame.html
(OS 109)管道已结束。: mod_fcgid: get overlap result error
End of script output before headers: index.php
mod_fcgid: can't apply process slot for A:/BtSoft/php/55/php-cgi.exe, referer: https://www.720run.com/vr/fb71c3d
mod_fcgid: can't apply process slot for A:/BtSoft/php/55/php-cgi.exe
(OS 109)管道已结束。: mod_fcgid: get overlap result error
End of script output before headers: index.php
(OS 109)管道已结束。: mod_fcgid: get overlap result error
End of script output before headers: t.php
(OS 109)管道已结束。: mod_fcgid: get overlap result error, referer: https://servicewechat.com/wx4a17b13835116d53/47/page-frame.html
End of script output before headers: index.php, referer: https://servicewechat.com/wx4a17b13835116d53/47/page-frame.html
(OS 109)管道已结束。: mod_fcgid: get overlap result error, referer: https://servicewechat.com/wx4a17b13835116d53/47/page-frame.html
End of script output before headers: index.php, referer: https://servicewechat.com/wx4a17b13835116d53/47/page-frame.html
(OS 109)管道已结束。: mod_fcgid: get overlap result error, referer: https://servicewechat.com/wx4a17b13835116d53/47/page-frame.html
End of script output before headers: index.php, referer: https://servicewechat.com/wx4a17b13835116d53/47/page-frame.html
之前的mod_fcgid.conf配置文件
#此文件为宝塔调整性能
<IfModule mod_fcgid.c>
AddHandlerfcgid-script .fcgi
FcgidFixPathinfo 0
FcgidIdleTimeout 20
FcgidBusyTimeout 20
FcgidProcessLifeTime 20
FcgidIOTimeout 600
FcgidConnectTimeout 10
FcgidMaxProcesses 60
FcgidMaxProcessesPerClass 30
FcgidMaxRequestsPerProcess 5000
FcgidMaxRequestLen 10737418240
FcgidErrorScanInterval 10
</IfModule>
现在的mod_fcgid.conf配置文件。看是否还会有错误。
#此文件为宝塔调整性能
<IfModule mod_fcgid.c>
AddHandlerfcgid-script .fcgi
FcgidFixPathinfo 0
FcgidIdleTimeout 1200
FcgidBusyTimeout 1200
FcgidProcessLifeTime 1200
FcgidIOTimeout 1200
FcgidConnectTimeout 1200
FcgidMaxProcesses 60
FcgidMaxProcessesPerClass 30
FcgidMaxRequestsPerProcess 10000
FcgidMaxRequestLen 10737418240
FcgidErrorScanInterval 1200
</IfModule>
Received restart signal -- Restarting the server. 这样ok
我也遇到这个问题,apache时不时假死,过一会儿就好了,不定时的又假死。网上找到的解决方案,正在试用中,不保证可以解决问题。用作参考吧
在httpd.conf中添加如下代码
AcceptFilter http none
AcceptFilter https none
EnableSendfile Off
EnableMMAP off
页:
[1]