Portal Home > Knowledgebase > Articles Database > Application Pool crashes identifying culprit


Application Pool crashes identifying culprit




Posted by Number09, 03-05-2008, 08:51 AM
I am having difficulties with my application pools crashing and hope someone can offer some advise on the best practise for identifying the sites responsible. This is a shared Windows (2003 Standard SP2) server using IIS 6 to host around 1000 sites, which are a mix of asp.net 1.1, asp.net 2.0, asp, perl and php. I have two main application pools where the .net versions are split and another couple where I quarantine suspect sites. More often then not the problem is caused by a .net 2.0 site with all sites using the technology hanging and eventually crashing whilst php or html pages still load successfully, an application pool recycle usually clears the problem. Currently I use Troxio IIS Guide to see the active connections and I have Debug Diagnostics tool to monitor crashes but I cannot make sense of the output from the dump files. I can always see the errors in the Event log and are always similar to this: Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event ID: 5000 Description: EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 mscorlib, P5 2.0.0.0, P6 461eee3d, P7 3969, P8 f1, P9 system.invalidoperationexception, P10 NIL. It's easy enough finding out which application pool but identifying the web site responsible is proving much more difficult, there is no sign of a website ID in the Diag Debug output or in the Event Log. The IIS logs also prove to be of very little help. I have also tried both IIS Tracer and IIS State but these seem to only work with .net 1.1 but most my customers and problems are with .net 2.0 also installing any ISAPI filters greatly interferes with my logging modules. I think acquiring this information must be quite common so I must be missing something simple. There must be an easy way to identify troublesome sites either by extracting it from some log or by installing a third party application. Can anyone shed any light on how to do this or point me in the direction of any software that handles it or even any feedback on how you handle this part of Windows hosting. Thanks in advance

Posted by mooodi, 03-05-2008, 09:14 AM
usually application pool crash on a website if any inherited ISAPI filter crash. check it out in domain.com : ISAPI filter tab.

Posted by Number09, 03-05-2008, 09:34 AM
Thanks, The problem is that I do not know how to identify the site causing the application pool to crash. The only ISAPI filter I have is used for custom logging.

Posted by Number09, 03-06-2008, 12:22 PM
I have followed the web.config modification described here: http://blogs.msdn.com/johan/archive/...-restarts.aspx I'm now getting a lot more information written to my event log, hopefully this'll help with the identification.

Posted by Number09, 09-15-2008, 11:34 AM
Cheers, I'll take a good look at that.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Brius.com down? (Views: 680)

Language: