1

Windows 2008 R2 IIS 7.5 で ARR と URL Rewrite がポート 80 番で実行されている 同じサーバーで Apache がポート 10000 で実行されています (設計上 8080 は使用されていません)。IIS は、進行中のすべての問い合わせ / cp1 を Apache (リバース プロキシ) に転送します。

データベースへの多くの Ajax 要求によって実行される Apache で。このようなリクエストが 5 秒以上かかると、IIS から次のメッセージが表示されます。

Fehlerzusammenfassung
HTTP-Fehler 502.3 - Bad Gateway
Der Server lieferte eine ungültige oder unbekannte Rückmeldung.
Ausführliche Fehlerinformationen
Modul   ApplicationRequestRouting
Benachrichtigung    ExecuteRequestHandler
Handler ApplicationRequestRoutingHandler
Fehlercode  0x80072f78
Angeforderte URL    http://win2008r2iis:80/cp1/index.pl
Physikalischer Pfad C:\inetpub\wwwroot\cp1\index.pl
Anmeldemethode  Anonym
Angemeldeter Benutzer   Anonym

応答ヘッダーは、次のように表示されます。

Pragma: no-cache
Date: Thu, 08 Jan 2015 10:27:00 GMT
Server: Microsoft-IIS/7.5
X-Powered-By: ARR/2.5, ASP.NET
Content-Type: text/html; charset=utf-8
Cache-Control: private
Content-Disposition: inline;
Keep-Alive: timeout=5, max=100
Content-Length: 5323
Expires: Tue, 1 Jan 1980 12:00:00 GMT

この問題は、Keep-Alive ヘッダーの 5 秒に記載されています。web.config によると、タイムアウトとして 1 分が設定されています。

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <handlers>
            <remove name="Perl" />
            <remove name="ActiveState Perl for *.pl" />
            <remove name="PerlEx" />
        </handlers>
        <staticContent>
            <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00" />
        </staticContent>
        <httpProtocol allowKeepAlive="true" />
    </system.webServer>
   <system.applicationHost>
      <webLimits connectionTimeout="00:01:00" />
   </system.applicationHost>
</configuration>

ARR キャッシュ設定では、値として 120 秒が入力されます。

4

0 に答える 0