Heim  >  Artikel  >  Backend-Entwicklung  >  apache 响应时间特别长,不受超时限制

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

WBOY
WBOYOriginal
2016-06-06 20:32:362510Durchsuche

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

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

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

<code>Timeout 60
</code>

apache\conf\httpd.conf 中:

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

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

回复内容:

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

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

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

<code>Timeout 60
</code>

apache\conf\httpd.conf 中:

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

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn