World Wide Publishing Service very slow to restart on IIS? Why?

Posted by StacMan on Server Fault See other posts from Server Fault or by StacMan
Published on 2011-09-07T01:57:48Z Indexed on 2011/11/20 1:56 UTC
Read the original article Hit count: 466

Every now and then, we look to restart our IIS server by restarting the "WWW Publishing Service". On most systems this would usually only take a minute or two, but this can often take up to 10 minutes to stop the server and restart.

Does anyone know any way to work out what is taking so much time to stop the service? After reading up around the net I've learned this may be due to locked resources used by users and/or lower-level IIS cached items being recycled. But I cant seem to work out where I can validate if this is true on not. Also if anyone knows how to fix or speed this up, that would be excellent.

We have a large codebase which contains over 280 aspx pages across the site. Our main domain contains about 100 aspx pages whilst the subdomains contain 15 or 20 each.

Some specs: Code is written in C#; runs on .Net framework 2.0 Server Windows Web Server 2008 IIS7; DB running SQL Server 2008 Standard

© Server Fault or respective owner

Related posts about c#

Related posts about ASP.NET