Tuesday, October 5, 2010

Couple Notes on Configuring IIS 6.0

Find the file MetaBase.xml on your web server. In my case it is located at: C:\WINDOWS\system32\inetsrv\MetaBase.xml.


When DisallowOverlappingRotation is set to False the new worker process will be created while the existing one continues. Then once the new one is ready the old will be shut down. Setting it this way has the least impact on your end users.

When DisallowOverlappingRotation is set to True the old worker process is shut down before the new one is created. This will cause your site to be down longer while the worker process is being recycled. Setting it this way may be required if an application in the application pool doesn't tolerate multi-instancing.

Logging Application Pool Recycling Events in IIS 6.0

You can change which Application Pool Recycling Events get logged by modifying the LogEventOnRecycle attribute in the IIsApplicationPools node. The available flags are:
  • AppPoolRecycleTime

  • AppPoolRecycleRequests

  • AppPoolRecycleSchedule

  • AppPoolRecycleMemory

  • AppPoolRecycleIsapiUnhealthy

  • AppPoolRecycleOnDemand

  • AppPoolRecycleConfigChange

  • AppPoolRecyclePrivateMemory
Include a pipe delimited list of these flags in the key value pair to enable logging of these events. In this example I'm logging each available events: LogEventOnRecycle


No comments:

Post a Comment