I'm facing an intermitent problem on a production server. Sometimes fastcgi stops working.
After I use iisreset, everything seems to work fine. I think it happends only on pools that don't have many PHP sites, so the php-cgi.exe reaches the idle timeout, and when a php site is accesses again, the problem happends.
Error page:
FastCGI Error
The FastCGI Handler was unable to process the request.
Error Details:
- The FastCGI process exceeded configured activity timeout
- Error Number: 258 (0x80070102).
- Error Description: The wait operation timed out.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
fcgiext.ini:
[Types]
fphp=PHP
php=PHP
[PHP]
ExePath=c:\php\php-cgi.exe
InstanceMaxRequests=200
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:200,PHPRC:C:\PHP\
MaxInstances=0
FlushNamedPipe=1
UnhealthyOnQueueFull=1
I can reproduce this error by killing the php-cgi.exe process of an specific apppool and accessing a php website of this pool, or access a php site an apppool that haven't any php-cgi.exe processes.
Using sysinternals processxp, I can see the process being spawned, and finished after displaying that error page, when the php page is accessed.
I use:
Windows 2003 SP2 32bits
IIS6.0
fcgiext 1.5
PHP 5.2.5
Hope anyone can help me.