ReclaimApplicationProgramPoolSettings to control how to restore system resources. The following sections describe how to specifyApplication pool.
Reclaim
Application pool Set
ReclaimApplication poolThe setting is inApplication poolIn the "recycle" tab of the Properties dialog box.
Set collectionApplication poolSet
- Open the IIS console and click the plus sign to expand the local computer.
- Click the plus sign to expandApplication pool"Folder.
- Right-click the appropriateApplication poolAnd then click Properties ". AppearsApplication poolProperties dialog box.
- Click the recycle tab and set the appropriateApplication pool.
Application pool"Reclaim" tab of the "properties" dialog box
Memory reclaim
"Memory reclaim" is equivalentMemorylimitASP. NET process model settingsApplication pool. It specifies the maximum amount of memory that a secondary process can use. If the number of auxiliary processes exceeds this limit, a new process will be created to replace it, and all current requests will be reassigned to the new process. InMemorylimitASP. NET Process Model Setting and memory reclaim"Application poolThere are two important differences between settings:
- MemorylimitASP. NET process model settings only use physical memory. "Memory Recycle"Application poolThe settings allow you to specify limits for the physical memory and virtual memory respectively. Because the garbage collector of the Common Language Runtime Library works, physical memory (or a combination of physical memory and virtual memory) is often used in ASP. NET applications. Virtual Memory is often used for traditional local applications that divide the heap into multiple fragments.
- "Memory Recycle"Application poolThe setting is specified in MB instead of the percentage relative to the total memory.
Reclaim auxiliary processes
"Recycling auxiliary processes" is equivalentRequestlimitASP. NET process model settingsApplication pool. It specifies the cause of the secondary process orApplication poolThe number of recycled requests. By default, "recycle auxiliary processes" is disabled. To enable recycle Worker Process, select this check box and specify the number of requests in the Value Adjustment box.
Reclaim multiple auxiliary processes
"Recycling multiple auxiliary processes" is equivalentTimeoutASP. NET process model settingsApplication pool. It indicates that the secondary process is recycled orApplication pool. By default, multiple auxiliary processes are enabled and set to 120 minutes. You can specify a different interval by changing the value in the Value Adjustment box. To disable "recycle multiple secondary processes", clear this check box.
Performance
Application pool Set
PerformanceApplication poolTo control the operations of the auxiliary process. The following sections describe how to specify performanceApplication pool.
Specify performance
Application pool Set
PerformanceApplication poolThe setting is inApplication poolIn the "performance" tab of the Properties dialog box.
Set PerformanceApplication poolSet
- Open the IIS console and click the plus sign to expand the local computer.
- Click the plus sign to expandApplication pool"Folder.
- Right-click the appropriateApplication poolAnd then click Properties ". AppearsApplication poolProperties dialog box.
- Click the "performance" tab and set the appropriateApplication pool.
Application pool"Performance" tab of the "properties" dialog box
Network Park
"Network Garden" is equivalentWebgardenAndCpumaskASP. NET process model settingsApplication pool. To enable "Network Garden", set "Maximum number of auxiliary processes" to a value greater than 1. This value is alsoApplication poolDetermine the maximum number of processes.
Because the network Park supports multiple processes, each process has its own copy in terms of application status, in-process session Status, cache, and static data. The Network farm should not be used for all applications, especially when they need to be maintained. Before determining whether the network garden mode is applicable, check the application performance.
It is very important to understand the session Status and the method of circulating work when using the network Park. Consider otherApplication poolSetting the method that affects the application is also very important.
Session status in the network garden in the auxiliary process Isolation Mode
When using the session Status, note that the auxiliary process Isolation Mode does not support sending requests back to the process that causes the request to return. When an application is running in an ASP session or application network, the application needs to send its request back to the initiated process. When using IIS 6.0Application poolMake sure that the application keeps a connection in the open state so that its request is sent back to the appropriate process. If the connection is not enabled, the request is sent to the next auxiliary process that provides services for the network Park.
Cycle in the network garden using the auxiliary process Isolation Mode
Loop is a load balancing method for applications. When each request arrives, it is automatically sent to the next usable process. For example, if the network garden has four processes, the request will be sent to processes 0, 1, 2, and 3 in this order. Repeat the loop for other requests.
The
Application pool Parameters
SomeApplication poolSet behavior specific to the network garden. The following table summarizes these actions.
Application poolSet |
Action |
Apppoolqueuelength |
The value of this parameter is not affected. However, requests are distributed cyclically in all the auxiliary processes that provide services for the network Park. |
Disallowoverlappingrotation |
No behavior changes in the network. |
Disallowrotationonconfigchange |
No behavior changes in the network. |
Idletimeout |
Independent Computing for each process, so that the timeout of each process can be independent of each other. Based on the selected routeAlgorithmTo automatically configure the number of processes to be loaded. |
Loadbalancercapabilities |
No behavior changes in the network. |
Orphanaction |
No behavior changes in the network. |
Orphanworkerprocess |
No behavior changes in the network. |
Periodicrestarttime |
The meaning of this parameter has changed in the network. In the network garden, this parameter specifies the interval at which all processes are recycled. The process is recycled at an average interval within a specified time. For example, if the network garden has four processes andPeriodicrestarttimeIf it is set to 20 hours, the first process will be reclaimed after 5 hours, the second process will be reclaimed after 10 hours, and so on.
Note:If the process crashes, providePeriodicrestarttime. This allows the crashed processPeriodicrestarttimeAnd other processes.
|
Periodicrestartrequests |
The meaning of this parameter has changed in the network. In the network garden, this parameter specifies to reclaim all processes after the number of requests reaches. Processes are recycled in turn at the average interval within the specified number of requests. For example, if the network garden has four processes andPeriodicrestartrequestsIf it is set to 40,000 requests, a process will be reclaimed after 10,000 requests, and the second process will be reclaimed After 20,000 requests. After the first group of processes are recycled, 40,000 will be assigned to the next group of processes.PeriodicrestartrequestsValue. |
Periodicrestartschedule |
No behavior changes in the network. If the Administrator decides to use time-based collection, all network garden processes will be reclaimed at the same time. |
Pinginterval |
No behavior changes in the network. |
Pingresponsetime |
No behavior changes in the network. |
Pingingenabled |
No behavior changes in the network. |
Rapidfailprotection |
No behavior changes in the network. For example, calculate and compare the total number of failures in the network park within a period of time. This provides additional recovery capabilities. |
Rapidfailprotectioninterval |
No behavior changes in the network. For example, calculate and compare the total number of failures in the network park within a period of time. This provides additional recovery capabilities. |
Rapidfailprotectionmaxcrashes |
No behavior changes in the network. For example, calculate and compare the total number of failures in the network park within a period of time. This provides additional recovery capabilities. |
Smpaffinitized |
No behavior changes in the network. |
Smpprocessoraffinitymask |
In IIS 5.0 isolation mode, you can only have the same number of auxiliary processes as the number of CPUs. In the auxiliary process Isolation Mode, multiple CPUs can be used for a single auxiliary process. |
Shutdowntimelimit |
No behavior changes in the network. |
Startuptimelimit |
No behavior changes in the network. |
Idle timeout
"Idle timeout" is equivalentIdletimeoutASP. NET process model settingsApplication pool. It specifies the secondary process orApplication poolWhen it is inactive, it will be closed for too long. By default, "Idle timeout" is enabled and set to 20 minutes. You can specify a different time limit by changing the value in the Value Adjustment box. To disable idle timeout, clear this check box.
Request queue restrictions
The "Request queue limit" is equivalentRestartqueuelimitASP. NET process model settingsApplication pool. It specifies the maximum number of requests queued in ASP. net isapi when the secondary process is started after an exception is terminated. By default, the "Request queue limit" is enabled and set to 1000 requests. You can change the value in the Value Adjustment box to specify different limits for the number of queued requests. To disable "Request queue restrictions", clear this check box.
Sound
Application pool Set
Through soundApplication poolSettings, you can control the way to monitor the secondary process for the correct function. The following sections describe how to specify a soundApplication pool.
Specify sound
Application pool Set
RecyclingApplication poolThe setting is inApplication poolIn the Properties dialog box.
Sound ConfigurationApplication poolSet
- Open the IIS console and click the plus sign to expand the local computer.
- Click the plus sign to expandApplication pool"Folder.
- Right-click the appropriateApplication poolAnd then click Properties ". AppearsApplication poolProperties dialog box.
- Click the "sound" tab and set the appropriateApplication pool.
Application pool"Sound" tab of the "properties" dialog box
Enable Ping
Enabling Ping is equivalentPingfrequencyASP. NET process model settingsApplication pool. It specifies the time interval for ASP. net isapi to check whether the secondary process exists. If no secondary process exists, restart the secondary process. By default, Ping is enabled and set to 30 seconds. You can specify a different interval by changing the value in the Value Adjustment box. To disable Ping, clear the Enable Ping check box.
Close Time Limit
The "close time limit" is equivalentShutdowntimeoutASP. NET process model settingsApplication pool. It specifies the length of time that is provided to the auxiliary process for normal shutdown. If the auxiliary process is not closed for a specified period of time, ASP. net isapi ends the auxiliary process. By default, the "off time limit" is set to 90 seconds. You can specify a different time limit by changing the value in the Value Adjustment box.
Identifier
Application pool Set
IdentifyApplication poolYou can specify the account used by the auxiliary process. By default, the secondary process uses the network service account. However, you can override this account and specify other Windows identities. The following sections describe how to specify an identifierApplication pool.
ID
Application pool Set
RecyclingApplication poolThe setting is inApplication poolIn the Properties dialog box.
Set IDApplication poolSet
- Open the IIS console and click the plus sign to expand the local computer.
- Click the plus sign to expandApplication pool"Folder.
- Right-click the appropriateApplication poolAnd then click Properties ". AppearsApplication poolProperties dialog box.
- Click the "ID" tab and set the appropriateApplication pool.
Application pool"Identifier" tab of the "properties" dialog box
Username and password
The "User Name" and "password" are equivalentUsernameAndPasswordASP. NET process model settingsApplication pool. These two settings are used together to enable the auxiliary process to run with the specified Windows identity. By default, the secondary process uses the network service account. However, if you select the "configurable" radio button and the "user name" and "password" text boxes contain valid values, the auxiliary process uses the specified Windows identity. In addition, you must add the Windows logoIis_wpgUser Group.
Add the Windows logo to the iis_wpg User Group
- On the Start menu, right-click my computer and Click Manage ".
- Right-click the plus sign to expand the "local user and group" node.
- Click the group folder. The right pane lists all groups defined on the computer.
- Right-click "iis_wpg" and click "add to group ".
- Click Add and enter the account to be used for the secondary process.