Hi, I stuck with investigating performance issue with my web server. Sometimes (aprox twice per week) a get numerous hanged php-cgi processes that makes IIS unresponsive. The only thing that I can do to make it live is reboot IIS. In IIS logs I see many responses
with HTTP Status 400, Win32 status 64 and time taken about 240 seconds. I'm using IIS 6 and PHP 5.2.13 in FastCGI mode. Does anybody face same problem? Maybe you can point me to some investigation method that can help or something. Thank you in advance. -Dmitry,
It looks like there is a problem with the php-cgi process. Assuming you have access to the symbols for the hung application, the best way to go is attaching a debugger to the process and see where exactly it is hung on. Visual Studio, WinDBG or Process Explorer
would give you the call stack you are looking for.
PyroJoke
5 Posts
IIS 6 + php: A lot of hanged php-cgi processes
May 24, 2012 09:10 AM|LINK
PHP iis 6 process stuck hang
bariscaglar
8 Posts
Microsoft
Moderator
Re: IIS 6 + php: A lot of hanged php-cgi processes
May 25, 2012 09:56 PM|LINK
Dmitry,
It looks like there is a problem with the php-cgi process. Assuming you have access to the symbols for the hung application, the best way to go is attaching a debugger to the process and see where exactly it is hung on. Visual Studio, WinDBG or Process Explorer would give you the call stack you are looking for.