IIS randomly restarting

  • Thread starter Thread starter Phil S
  • Start date Start date
P

Phil S

My server is randomly restarting every few minutes or so, and I can't figure
out why. What would cause this to happen, aside from some evil person
sitting at the console? I did manage to catch it in the act, and get a
stack trace, but it doesn't really tell me a whole lot.
Anyone know what causes this, or what diagnostics I can use to help pinpoint
the cause?

at Hansen.UI.Web.Global.Application_End(Object, EventArgs)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags,
Binder, Object[], CultureInfo, Boolean, Assembly, Boolean)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags,
Binder, Object[], CultureInfo, Boolean)
at System.Reflection.RuntimeMethodInfo.Invoke(Object, BindingFlags, Binder,
Object[], CultureInfo)
at System.Web.HttpApplication.ProcessSpecialRequest(HttpContext, MethodInfo,
Int32, Object, EventArgs, HttpSessionState)
at System.Web.HttpApplicationFactory.FireApplicationOnEnd()
at System.Web.HttpApplicationFactory.Dispose()
at System.Web.HttpRuntime.Dispose()
at System.Web.HttpRuntime.ReleaseResourcesAndUnloadAppDomain(Object)
 
that looks like the worker process is restarting (aspnet_wp.exe) , not IIS
(inetinfo.exe).
True?

In IIS6, It is possible to configure a restart interval, so that the worker
processes are pro-actively recycled after reaching a certain threshold (size
in memory, # of requests handled, time alive, etc).

In IIS5 as well as IIS6, you can get a reactive restart if your worker
process stops responding to pings, or exceeds a set % of available memory.
Check machine.config for details.

Is it possible you are hitting one of these thresholds?

-Dino
 
Back
Top