FastCGI 进程超出配置的活动超时 [英] FastCGI process exceeded configured activity timeout
问题描述
我有一个我构建的函数,它将抓取一个 .csv 文件并上传当时说明的信息,为 .csv 文件中的每个用户创建一个帐户.
I have a function I built that will grab a .csv file and upload information stated then, creating an account for each user in the .csv file.
我的问题是我需要能够使用 .csv 文件中的数千个条目来执行此操作,但我的问题是出现此超时错误并且不确定为什么,如下所示:
My issue is I need to be able to do this with thousands of entries in a .csv file but my problem is I get this time out error and not to sure why, as follows:
HTTP Error 500.0 - Internal Server Error
c:\php-fastcgi\php-cgi.exe - The FastCGI process exceeded configured activity
timeout
Detailed Error Information
Module -
FastCgiModule
Notification -
ExecuteRequestHandler
Handler -
PHP_via_FastCGI
Error Code -
0x80070102
这是我的 CSV 函数:
Here is my CSV function:
http://jsfiddle.net/fS4t4/ - 这是在 PHP 中,我只是把它扔进javascript 部分.
http://jsfiddle.net/fS4t4/ - this is in PHP and I just throw it into the javascript section.
如何解决这个问题?
更新:我的提供商是 Winhost
UPDATE: My provider is Winhost
推荐答案
转到 %windir%\system32\inetsrv\fcgiext.ini
并找到 ActivityTimeout 参数;将其复制到 [php] 部分.将参数更改为您想要的任何值,并确保它没有被注释掉.重启 IIS,你应该没问题.
Go to %windir%\system32\inetsrv\fcgiext.ini
and locate the ActivityTimeout parameter; copy it into the [php] section. Change the parameter to whatever value you would like, and also make sure that it is not commented out. Restart IIS and you should be good.
activityTimeout
也可以从服务器/IIS/FastCGI 设置/编辑下的 IIS 管理器中设置(IIS7 及更高版本).
activityTimeout
can be also set (IIS7 and above) from the IIS Manager under the server/IIS/FastCGI Settings/Edit.
这篇关于FastCGI 进程超出配置的活动超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!