« Previous Next »

Thread: IIS CleanUp

Last post 04-15-2009 10:02 AM by zantoro. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 04-14-2009, 7:57 AM

    • zantoro
    • Not Ranked
    • Joined on 03-30-2009, 4:47 AM
    • Posts 5

    IIS CleanUp

    Hello,

    we have an IIS6 server result of a migration from a IIS5 server (done with IIS Migration Tool).

    In the IIS console I could see a lot of dirt (this server has been up for a while).

    - I removed old unused websites

    - I grouped Applications in Application Pools based on type and .Net version

    Now I see that our main website hosted on this server has something like 100 applications and I don't understand the advantage of this conf.

    The result is that I have one application pool with 100 applications inside.

    I don't think it has any impact on performances or stability but it does bother me because it looks very messy.

    I'm tempted to go in every single application and click "remove" from the application settings of every sub-application. Questions:

    - do you think it is worth the effort?

    - to be on the safe side, I would like to backup the configuration. Will the situation be 100% restored to the current one (in case I screw up something) if I do a Restore?

    - is there any downside in doing this sort of clean-up?

    P.S.: Please note that our main website is all old asp with no differences in the app pool configuration (as all the apps are stored in the same app-pool)

     

    Thanks,

    Roberto.

  • 04-14-2009, 9:36 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,235
    • IIS MVPs

    Re: IIS CleanUp

    zantoro:
    'm tempted to go in every single application and click "remove" from the application settings of every sub-application.

    - is there any downside in doing this sort of clean-up?

    That could be disastrous.  That application setting determines the "scope" of each application and is responsible for application's settings and application/session variables.  If you did that you could potentially make each application unusable. 

  • 04-14-2009, 12:07 PM In reply to

    • zantoro
    • Not Ranked
    • Joined on 03-30-2009, 4:47 AM
    • Posts 5

    Re: IIS CleanUp

    could you please tell me if my assumptions are right?

    - when you say application's settings you refer to all the options you can configure in "Configuration" inside the Virtual Directory Tab and nothing more?

    - aren't "Session/Applications variables" stored in the app pool w3wp process (which means if two applications are stored in the same AppPool the same variable is available in either side)?

     

    Thanks for your help,

    Roberto.

  • 04-14-2009, 1:20 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,235
    • IIS MVPs

    Re: IIS CleanUp

    zantoro:
    when you say application's settings you refer to all the options you can configure in "Configuration" inside the Virtual Directory Tab and nothing more?

    No, it also includes the global.asax and web.config files for ASP.NET and the global.asa file for classic ASP, as well as any Session or Application variables set with the app code.

    zantoro:
    aren't "Session/Applications variables" stored in the app pool w3wp process (which means if two applications are stored in the same AppPool the same variable is available in either side)?

    No.  The application setting effectively isolates them and prevents them from being shared.

  • 04-15-2009, 4:33 AM In reply to

    • zantoro
    • Not Ranked
    • Joined on 03-30-2009, 4:47 AM
    • Posts 5

    Re: IIS CleanUp

    Ok, I read the article http://msdn.microsoft.com/en-us/library/ms525360.aspx and I see your point regarding the application variables.

    I still have a few doubts about the global.asa as most of these applications don't have one inside but the application variables reason seems good enough to stop me from doing something I might regret.

     

    Thanks,

    Roberto.

  • 04-15-2009, 9:55 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,235
    • IIS MVPs

    Re: IIS CleanUp

    Your development team should be able to assist you in determining which folders are truly applications.  Wouldn't the person responsible for the code know this?  No need to guess.

  • 04-15-2009, 10:02 AM In reply to

    • zantoro
    • Not Ranked
    • Joined on 03-30-2009, 4:47 AM
    • Posts 5

    Re: IIS CleanUp

    Yeah, I know... I will try.

    Thanks for your help.

    Roberto.

Page 1 of 1 (7 items)
Microsoft Communities