Configures the ASP+ process model settings on IIS Web Server Systems.
<processmodel enable="[true/false]" timeout=”[mins]” idletimeout=”[mins]” shutdowntimeout=”[mins]” requestlimit=”[num]” requestqueuelimit=”[num]” memorylimit=”[MBs]” cpumask=”[num]” usecpuaffinity=”[true/false]” />
The <processmodel> tag supports the following attributes:
Attribute | Description |
---|---|
enable | BOOL value indicates whether the process model is enabled |
timeout | DWORD value set to the number of minutes after which a new worker process will be launched to take the place of the current one. Default: infinite. |
idletimeout | DWORD value set to the number of minutes of inactivity after which the worker process gets automatically shut down. Default: infinite. |
shutdowntimeout | DWORD value set to the number of minutes the worker process is given to shut itself down gracefully. When the timeout expires, XSP ISAPI will kill the worker process. Default: 5. |
requestlimit | DWORD value set to the number of requests after which new worker process will be launched to take place of the current one. Default: infinite. |
requestqueuelimit | DWORD value set to the maximum allowed number of requests in the queue after which the worker process is considered misbehaving. A new process will be launched and the requests will get reassigned. Default: infinite. |
memorylimit | DWORD value set to the maximum allowed memory size, in MB, that the worker process consumes before it is considered misbehaving. A new process will be launched and the requests will get reassigned. Default: infinite. |
cpumask | DWORD value controls the number of processes and the way the web garden works. One process is launched for each CPU where the corresponding bit in the mask set to 1. When UseCPUAffinity (see below) is set to 0, the CPUMask setting only controls the number of worker processes (number of bits set to 1), the maximum allowed number of worker processes is the number of CPUs. By default all CPUs are enabled - as many worker processes as there are CPUs are launched. |
usecpuaffinity | Controls CPU affinity. "True" indicates that the processes should be affinitized to the corresponding CPU. Default is "True". |
The <processmodel> configuration settings are actually ignored by the managed code configuration system. Instead, they are directly read by the XSPISAPI unmanaged dll.
<configsections> <add name="processmodel" type="System.Web.Config.IgnoreConfigHandler"> </configsections> <processmodel enable=”true” timeout=”15” idletimeout=”25” shutdowntimeout=”5” requestlimit=”1000” requestqueuelimit=”500” memorylimit=”200” usecpuaffinity=”true” />
Contained Within: <configuration>
Web Platform: IIS 5.0
Configuration File: config.web
Configuration Section Handler:
System.Web.Config.IgnoreConfigHandler
ASP+ Configuration Concepts