I have an ASP.NET web application that occasionally hangs after I build it. It is intermittent and there is no pattern to this. When I try to access it afterwards, IE just waits for IIS to respond, which it doesn’t do, unless I restart IIS.
This is on my local machine, running Vista Ultimate x64, VS 2008, 1 web application, 8 additional class libraries.
–UPDATE–
In the System log, there’s an entry for each time it’s happened:
A worker process ‘8068’ serving
application pool ‘MyCustomAppPool’
failed to stop a listener channel for
protocol ‘http’ in the allotted time.
The data field contains the error
number.
Event ID:5138 http://technet.microsoft.com/en-us/library/cc734995.aspx
I believe I have finally found a suitable answer.
Tess Ferrandez’s post on hangs when loading the ASP.NET assemblies could be the problem:
http://blogs.msdn.com/tess/archive/2009/09/22/asp-net-case-study-hang-when-loading-assemblies.aspx
Sounds like the GC is getting confused and getting hung up.