Levels and Inheritance

Process Recycling events can be configured at various levels of the IIS metabase using either the User Interface (UI) or by directly editing the metabase. All properties configured for Process Recycling are inherited by the lower levels of the IIS metabase, except where a lower level has been specifically configured.

Metabase Keys

There are four metabase keys unique to Process Recycling. The first three keys listed below can be configured from the UI. The fourth key, ShutdownTimeLimit, can only be configured by editing the metabase directly.

Application Security

You should understand the AppIsolated metabase key when configuring Process Recycling without the UI, because the parameter value of the AppIsolated key tells you the security level of the application. You then use this information to determine where to make your Process Recycling settings. An application, along with it's security level, can be configured at various levels of the metabase. The security level determines where the application gets it's Process Recycling settings.

Application Protection    Metabase setting
   Low (IIS) AppIsolated = 0
   Medium (Pooled) AppIsolated = 2
   High (Isolated) AppIsolated = 1

The following metabase configuration example shows the metabase keys in bold that are used to configure Process Recycling at various levels of the metabase.

Metabase Configuration Example

/W3SVC
   AppIsolated = (INTEGER) 0
   PeriodicRestartTime = (INTEGER) 60
   PeriodicRestartRequests = (INTEGER) 10000
   PeriodicRestartSchedule = (STRING) “03:30” “21:30”
   ShutdownTimeLimit = (INTEGER) 6000
   …other default site/app settings…
      /W3SVC/1
         ShutdownTimeLimit = (INTEGER) 700
      /W3SVC/1/root
        AppIsolated = (INTEGER) 2
        PeriodicRestartTime = (INTEGER) 0
        …other app settings…
      /W3SVC/1/root/isolatedApp
         AppIsolated = (INTEGER) 1
         PeriodicRestartTime = (INTEGER) 600
         PeriodicRestartRequests = (INTEGER) 0
         ShutdownTimeLimit = (INTEGER) 900
         …other app settings…
      /W3SVC/1/root/PooledApp
         AppIsolated = (INTEGER) 2
         …other app settings…
      /W3SVC/1/root/PooledApp/WebDir
      /W3SVC/1/root/inprocApp
         AppIsolated = (INTEGER) 0
         …other app settings…

Understanding the Metabase Configuration Example

See About Applications for more information about creating an application and setting a security level. See Defining Application Boundaries for information about setting an application's starting point and boundary.

Related Resources


© 1997-2001 Microsoft Corporation. All rights reserved.