小编use*_*308的帖子

如何停止超过配置的请求超时的 FastCGI 进程

我有一个接受大文件(最大 500Mb)的 API。直到最近它还在发挥作用。现在我不断收到一个Error 500.0 - Internal Server Error. 警告消息指出C:\inetpub\Scripts\python.exe - The FastCGI process exceeded configured request timeout。大约 10 分钟后会出现此情况。

以前,CGI 和 IIS 的超时设置为大约 20 分钟,但自从我收到此错误消息后,我荒谬地提高了超时,大约 10 分钟后它仍然发生。

  • 在 IIS 的 CGI 下,我将超时设置为 1 小时 30 分。

  • 在 IIS 的 web.config 中,我有:

    <system.web>
        <httpRuntime executionTimeout="12250" maxRequestLength="500000" />
        <customErrors mode="Off" />
    </system.web>
Run Code Online (Sandbox Code Playgroud)

python iis fastcgi

3
推荐指数
1
解决办法
4088
查看次数

标签 统计

fastcgi ×1

iis ×1

python ×1