Re: Problem: IIS 6 ASP sessions disconnections

From: Amitay Dobo (amitay_at_e-shop.co.il)
Date: 03/27/05


Date: Sun, 27 Mar 2005 20:01:26 +0200

After configuring IIS recycling monitoring, i get this entry on the event
log:
Source: W3SVC-WP Evemt ID:2262

ISAPI 'C:\WINDOWS\system32\inetsrv\asp.dll' reported itself as unhealthy for
the following reason: 'ASP unhealthy because 100% of executing requests are
hung and 0% of the request queue is full.'.

Is there any way to check what queued asp pages are "stuck" in the asp
script engine?

 should IISState report the problem asp pages? I'm reluctant to run it on a
production enviroment, after on the development enviroment it gave me some
troubles and hangs.

thanks,

Amitay

"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:O86vt6LMFHA.3296@TK2MSFTNGP15.phx.gbl...
> Remember, without monitoring and proactive action, your server is now
> vulnerable to bad user code causing crash/hang, chewing up CPU/RAM, etc --
> so what you really need to do is determine the metrics and
service-agreement
> that you want to maintain and the configure appropriately.
>
> Web Hosting is really specialized, so it is expected that the default
health
> monitoring settings may not be compatible with your situation and that the
> hoster must tune to their specific hardware/service/reliability agreements
> (there are whitepapers that talk about this on microsoft.com). If one-size
> fits all, we wouldn't have made them optional and configurable...
>
> Here are some of them. Sorry, it is not a cookbook for how to webhost, but
> it's a lot of good info:
>
> Application Isolation Basics:
>
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/webapp/iis/appisoa.mspx
>
> Application Security Basics:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/ThreatCounter.asp
>
> IIS6 Perf Tuning:
>
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/maintain/operate/iis6perf.asp
>
> WebCasts - many in-depth chats about various IIS6/related topics:
>
http://support.microsoft.com/default.aspx?scid=%2fservicedesks%2fwebcasts%2fwc022603%2fwcblurb022603.asp
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> //
> "Amitay Dobo" <amitay@e-shop.co.il> wrote in message
> news:eWjRf$EMFHA.1392@TK2MSFTNGP10.phx.gbl...
> Thanks for your reply.
> Sorry, forgot to list the App Pools settings:
> As we assumed this is an auto-recycling problem, i turned off all the
> "health monitoring" options:
> -----------
> Shutdown Worker Processs after being idle: Disabled
> Limit the kernel request queue: Disabled
> Enable pinging: Disabled
> Enable rapid-fail Protection: disabled
> Running as Network_Service
> ------------
> I have enabled full event log reporting on AppPool recycling just this
> morning (thanks for the helpful post on this newgroup), so i hope to see
if
> recycling is causing this.
>
>
> "David Wang [Msft]" <someone@online.microsoft.com> wrote in message
> news:%23CP9M9%23LFHA.1268@TK2MSFTNGP14.phx.gbl...
> > What are the health monitoring/recycling metrics that are active for
each
> > Application Pool?
> >
> > This sounds like a recycle happened due to configuration (or you had an
> > application crash), which will kill all in-process session state and
> result
> > in what you observe.
> >
> > --
> > //David
> > IIS
> > http://blogs.msdn.com/David.Wang
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > //
> > "Amitay Dobo" <amitay@e-shop.co.il> wrote in message
> > news:%23JcSoT6LFHA.656@TK2MSFTNGP14.phx.gbl...
> > The problem Occurs on IIS 6 running on Windows 2003 Server standard
> edition.
> > The server is running ~100 web sites, each one running an ASP
application,
> > with some 3rd party COM components. There are 10 application pools, one
of
> > them contains about 80 application, and the rest of the applications are
> > distributed between the rest of the pools.
> >
> > The problem occurs sometimes during the day, when some of the users
> sessions
> > are dropped (resulting in returning them to the login page). I can also
> see
> > this through the performance monitor "Active Server Pages\Sessions
> Current"
> > counter, when the number of sessions abruptly drops from 1600 to 800,
for
> > example.
> > No message is written to the event log. At the beginning we thought this
> is
> > a server overload problem, but after some code changes the server is now
> > running on normal cpu usage.
> >
> > Has anyone encountered this problem, and perhaps found a cause/solution
> for
> > this behaviour?
> >
> >
> >
>
>
>



Relevant Pages

  • Re: IIS logs for Exchange/OMA Access
    ... Open IIS Manager ... Enabled Integrated Windows authentication ... gather the log with Monitoring and Reporting. ... Select Receive a daily performance report in e-mail, ...
    (microsoft.public.windows.server.sbs)
  • Re: IIS logs for Exchange/OMA Access
    ... "Please also take your time to check IIS setting to make sure they are ... The SBS 2003 Monitoring and Reporting can monitor your server performance, ... Select Receive a daily performance report in e-mail, ... < Integrated Windows Authentication: Ticked ...
    (microsoft.public.windows.server.sbs)
  • Re: IIS logs for Exchange/OMA Access
    ... Open IIS Manager ... Select Edit in Authentication and access control box. ... gather the log with Monitoring and Reporting. ... Select Receive a daily performance report in e-mail, ...
    (microsoft.public.windows.server.sbs)
  • Re: IIS logs for Exchange/OMA Access
    ... Open IIS Manager ... Select Edit in Authentication and access control box. ... gather the log with Monitoring and Reporting. ... Select Receive a daily performance report in e-mail, ...
    (microsoft.public.windows.server.sbs)
  • Re: Server Reports empty
    ... please double check the Monitoring virtual directory has ... --Execute Permissions: Script only ... Please double-check the default application pool in IIS. ... >>specify additional logs to be attached. ...
    (microsoft.public.windows.server.sbs)

Quantcast