Setting the Idle timeout for an Application Domain from a CLI

You can use ConfigManager.exe (the Configuration Manager utility) from a Command Line Interface (CLI) to determine the number of minutes an application domain can remain idle before being automatically unloaded from memory.

Syntax

Use this command line syntax:

ConfigManager.exe -U:CS -mode:mode -key:FarmAppDomainIdleTimeoutMinutes -value:n

where:

  • mode is one of these actions:
    • new
    • edit
    • delete
  • n is an integer value for the idle minutes, from 10 to 120.
    Note: The default value for this setting is 10 minutes.

Example

ConfigManager.exe -U:CS -mode:edit -key:FarmAppDomainIdleTimeoutMinutes -value:10