Re: looking for cause- httperr reports "connection_dropped" and w3svc needs restarted

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Bartosik MS MVP (forums_at_davidbartosik.com)
Date: 08/10/04


Date: Tue, 10 Aug 2004 11:29:41 -0500


> Unlike prior IIS versions, where IISADMIN and W3SVC were both inside of
> inetinfo.exe (hence it is affected by user code loaded into it as well as
> hangs/crashes), W3SVC in IIS6 does not load any user code (it is in a
> separate svchost.exe, and IISADMIN remains in inetinfo.exe and also does
not
> load any user code in IIS6 Native Worker Process Isolation Mode) and hence
> rarely crashes/hangs. Thus, it is rarely necessary to restart W3SVC to
> correct your issue, though it happens to work. We would be very
interested
> in hearing any legitimate circumstance that requires W3SVC to restart.
> All that is usually needed is recycling or re-enabling a disabled
> Application Pool -- and it is as good as new. Event Log will tell you
when
> an application pool is being taken "offline" -- and you can go to the UI
to
> restart the application pool.

You can run the consumer by loading this url -
http://websvc.bdsrealtime.com/NBDS.Consumer.Tempo/tempo.aspx?uid=ServiceCKGE&stnid=4822

If you leave the page open it automatically reloads, until the crash/hang
issue occurs.

This is 2003 Server, IIS 6, SQL 2000, .Net 1.1

Yesterday I loaded the MS IIS Debug Tool that has a crash/hang agent
(IISDebugTools.exe version 1.1) onto the server and setup the ini file
according to the documentation. It was my understanding that on a hang the
agent would write a log and run iisdump. This morning I found the consumer
was failing and IIS was hung. But I had nothing from this tool. I followed
your last post and restarted the pool and that failed to get the web service
and consumer up and running again. I then went into services and restarted
the W3SVC service and that resolved the issue.

After the restart I found I got a crash report from the tool and it was
filled with "Connection_Abandoned_By_Inetinfo_Crash". I don't know if this
was from the restart or if this data was prior to the restart and simply
held until a restart. Nor do I know what that message tells me.

Once the issue occurs I find the httperr log is filled with
"connection_dropped" entries, I don't know what that is telling me either.

Just a little while ago I set the application to report a detailed .Net
error page in the event of a problem, and then let the consumer run in my
browser. After a while I got the error - Server too busy.
System.Web.HttpException: Server too busy.
System.Web.HtttpRuntime.RejectRequestInternal (httpworkerrequest wr)
Would you know what causes that and what prevents it?
That error did not hang W3SVC though, I clicked Refresh and the page
reloaded the consumer just fine.

David Bartosik



Relevant Pages