iisreset question

  • Thread starter Thread starter shai kedem
  • Start date Start date
S

shai kedem

hello,

this post is related to iisreset slowness issue I am experiancing.

I mean by slowness that IIS reset takes some time to terminate the asp.net working processes and after that starts up new IIS processes.

I have a situation where sometimes IIS reset (which normally takes around 20-30 seconds) takes very long time - about 2 minutes.


when iisreset shutsdown the asp.net working process (IIS6), how does it terminate the threads / working processes?
does it issue a thread Abort on each thread? does it unload the appdomains? or it just kills the w3wp.exe processes?
does it wait for any resources to free?

also any suggustions on how to debug this or investigate it further are welcomed.

thanks

shai
 
It waits for current actions to complete within the active worker process
thread, then flushes the logs and recycles the services and dependencies,
and any requests which arrive before it terminates are queued. Hence your
possible delay before the new worker thread kicks in.

If its taking too lonmg you can force it to recycle using the /TIMEOUT:val
flag
-
Regards

John Timney (MVP)
 
Back
Top