Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Debug Diagnostics - Hanging ASP.NET web service

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Pricing  
Author Message
Boro Marinkovich

External


Since: Mar 06, 2006
Posts: 1



(Msg. 1) Posted: Mon Mar 06, 2006 10:29 pm
Post subject: Debug Diagnostics - Hanging ASP.NET web service
Archived from groups: microsoft>public>inetserver>iis (more info?)

We have an asp.net web service application (3 actually) setup to run in
seperate application pools. We are finding that one of the applications
hangs intermittently but does not crash. During this time a netstat shows a
large number of CLOSED_WAIT status for connections to the server. To fix
the problem, we have found that we need to delete and recreate the
application pool as it seems to become corrupt.

We are attempting to use the IIS Toolkit Debug Diagnostics tool to get a
stack trace dump when the hang occurs. However this tool appears to only
create a dump when the application crashes, rather then hangs.

Is there a way to force a stack trace dump so we can analyze where the
application hangs to attempt to resolve the bug.

Thanks.
Boro

 >> Stay informed about: Debug Diagnostics - Hanging ASP.NET web service 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 2) Posted: Tue Mar 07, 2006 12:55 am
Post subject: Re: Debug Diagnostics - Hanging ASP.NET web service [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Boro Marinkovich" <boro.marinkovich DeleteThis @t4g.com> wrote in message
news:uI97icZQGHA.5400@TK2MSFTNGP09.phx.gbl...

: We are attempting to use the IIS Toolkit Debug Diagnostics tool to get a
: stack trace dump when the hang occurs. However this tool appears to only
: create a dump when the application crashes, rather then hangs.

What exactly are you doing when you try to configure Debug Diag?

Cheers
Ken

 >> Stay informed about: Debug Diagnostics - Hanging ASP.NET web service 
Back to top
Login to vote
patfilot

External


Since: Aug 24, 2003
Posts: 1478



(Msg. 3) Posted: Tue Mar 07, 2006 10:09 am
Post subject: Re: Debug Diagnostics - Hanging ASP.NET web service [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

A large number of CLOSE_WAIT is almost always caused by networking issues
(either the NIC in the web server or something downstream). If packets are
being dropped, then the TCP RFC spells out that you have to go into a
timeout situation to ensure no duplicate packets are on the network.

In a (usermode) debugging scenario you will typically see a bunch of threads
in a WinSock call (WS2_32.dll, etc.). The threads will all be in a WAIT
state (WaitForSingleObject() is probably at the top of the stack).

You can create a log with threads using IISState either during a hang or a
crash.


Pat



"Boro Marinkovich" <boro.marinkovich.TakeThisOut@t4g.com> wrote in message
news:uI97icZQGHA.5400@TK2MSFTNGP09.phx.gbl...
> We have an asp.net web service application (3 actually) setup to run in
> seperate application pools. We are finding that one of the applications
> hangs intermittently but does not crash. During this time a netstat shows
> a
> large number of CLOSED_WAIT status for connections to the server. To fix
> the problem, we have found that we need to delete and recreate the
> application pool as it seems to become corrupt.
>
> We are attempting to use the IIS Toolkit Debug Diagnostics tool to get a
> stack trace dump when the hang occurs. However this tool appears to only
> create a dump when the application crashes, rather then hangs.
>
> Is there a way to force a stack trace dump so we can analyze where the
> application hangs to attempt to resolve the bug.
>
> Thanks.
> Boro
>
>
 >> Stay informed about: Debug Diagnostics - Hanging ASP.NET web service 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]