So when "IIS6 was hung" and you had to restart W3SVC, what requests are
being served?
i.e. For static files, ASP files, ASP.Net files, which do/not get served.
Do you have anything constantly modifying configuration (including IIS
metabase) or leaving the metabase "locked" -- that is one thing that can
cause W3SVC (as well as w3wp.exe) to not respond -- because w3wp.exe is
ACL'd to only read configuration and if the metabase is locked, everyone
waits on it and does nothing.
Can you check perfmon counters to see the ASP.Net and IIS Request Queue
lengths.
What exactly is your application constantly doing when you refresh it? Is
this application making inbound/outbound connections of any sort (including
SQL, HTTP, etc)?
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"David Bartosik MS MVP" <forums DeleteThis @davidbartosik.com> wrote in message
news:etyGPcvfEHA.3272@TK2MSFTNGP11.phx.gbl...
> 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 -
<a style='text-decoration: underline;' href="http://websvc.bdsrealtime.com/NBDS.Consumer.Tempo/tempo.aspx?uid=ServiceCKGE&stnid=4822" target="_blank">http://websvc.bdsrealtime.com/NBDS.Consumer.Tempo/tempo.aspx?uid=Servi...KGE&stn</a>
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<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: looking for cause- httperr reports "connection_dropped" an..