当前位置:首页 > 服务器技术 > apache

apache响应时间特别长,不受超时限制

今天发现站点出现了问题,httpd CPU 占用居高不下。

查看 apachelogsaccess.log 发现请求响应时间很多都达到了几个小时,HTTP 状态码都是 500。

查看配置 apacheconfextrahttpd-default.conf

Timeout 60

apacheconfhttpd.conf 中:

Include "conf/extra/httpd-default.conf"

我很奇怪为什么响应时间会超过 60 秒,超时设置为什么会没有效果呢?

回复内容:

今天发现站点出现了问题,httpd CPU 占用居高不下。

查看 apachelogsaccess.log 发现请求响应时间很多都达到了几个小时,HTTP 状态码都是 500。

查看配置 apacheconfextrahttpd-default.conf

Timeout 60

apacheconfhttpd.conf 中:

Include "conf/extra/httpd-default.conf"

我很奇怪为什么响应时间会超过 60 秒,超时设置为什么会没有效果呢?


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!