Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Debug Diagnostics - Hanging ASP.NET web service

 
   Web Hosting and Web Master Forums (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: 2901



(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 DeleteThis @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:   
Related Topics:
SMTP Service Hanging - Please help! - Hello, We have a Windows 2000 Server, IIS5, running SMTP. Has anyone else out there had any trouble with the latest round of Microsoft patches for Windows 2000 server and the SMTP service hanging? The service does not stop, the messages just don't go...

WWW publishing service hanging - Hi all, I have a windows server where the WWW publishing services are hanging. I try to resart the IIS but it gives me a 1053 error unable to restart as a service didn't respond in a timely fashion. The IIS service is ok it is definelty the WWW service..

IIS SERVICE HANGING - Only serving up HTML - Hi My windows 2000 service pack 3 IIS server stops serving up .ASP pages. The service seems to hang in a funny state and the only way to fix it is to re-boot the server as the service cant be stoped and started. Any Help will be greatly appreciated

IIS is hanging - I have an intermittent problem where our IIS servers "hang". System resources (CPU, RAM, disk space, etc.) all check out fine. Initially I thought it was a problem with our load balancer, but when I requested a page through the second NIC while...

ASP Keeps hanging - Hi, We're running Windows 2003 server here. Recently I found ms sql server rather monopolising memory. So I scaled it down. I also upgraded our RAM to 2MB. We're running a P4 2.8ghz box. ASP seems to be crashing rather sporadically. I can't find..
   Web Hosting and Web Master Forums (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 ]