【问题标题】:Change execution timeout setting on azure/ windows server 2016 IIS更改 azure/windows server 2016 IIS 上的执行超时设置
【发布时间】:2021-07-14 21:21:38
【问题描述】:

我有一个 Web 应用程序托管在使用 IIS 的虚拟机 Windows Server 2016 上。其中一个响应的执行时间超过 90 秒,我似乎无法更改设置以使程序保持足够长的时间来接收响应。我已经尝试增加以下所有参数的值,但到目前为止没有任何影响。

1.) From IIS -> webapp -> advanced settings -> Limits -> Connection Timeout.

2.) From IIS -> configuration editor -> system.web/httpRuntime -> executionTimeout
                                                               -> shutdownTimeout
3.) From IIS -> webapp -> configuration  editor -> system.web.httpRuntime -> executionTimeout
                                                                          -> shutdownTimeout

4.) IIS -> Default App Pool -> Advanced Settings -> Idle Time-out
                                                -> Shutdown Timelimit
5.) IIS -> webapp -> CGI -> behaviour -> timeout

如果重要的话,VM 是从 azure 门户创建的,我使用 django 作为后端。谢谢!

【问题讨论】:

    标签: azure iis windows-server-2016


    【解决方案1】:

    这些设置均不适用于基于 Python 的应用程序。

    如果您遵循 Microsoft 对 host Python apps on IIS via HttpPlatformHandler 的建议,那么它的 requestTimeout setting 就是您要寻找的。​​p>

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-01-09
    • 1970-01-01
    • 2019-07-09
    • 2017-12-11
    • 2018-07-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多