Home > Backend Development > PHP Tutorial > apache 响应时间特别长,不受超时限制

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:32:36
Original
2606 people have browsed it

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

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

查看配置 apache\conf\extra\httpd-default.conf

<code>Timeout 60
</code>
Copy after login
Copy after login

apache\conf\httpd.conf 中:

<code>Include "conf/extra/httpd-default.conf"
</code>
Copy after login
Copy after login

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

回复内容:

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

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

查看配置 apache\conf\extra\httpd-default.conf

<code>Timeout 60
</code>
Copy after login
Copy after login

apache\conf\httpd.conf 中:

<code>Include "conf/extra/httpd-default.conf"
</code>
Copy after login
Copy after login

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

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Apache automatically stops
From 1970-01-01 08:00:00
0
0
0
apache restart failed
From 1970-01-01 08:00:00
0
0
0
apache error
From 1970-01-01 08:00:00
0
0
0
How apache logs
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template