In implementation, however, the property does not behave as described in the IIS 6.0 core documentation.
Note In Internet Information Services 7.0, the AppPoolQueueLength size has been renamed as QueueLength. QueueLength has a default value of 1,000 and is configurable in the Application Pool section of Internet Services Manager.
The default value for this property is 4000 total requests (user and kernel mode requests). The total count of requests for an application pool is only decremented when a request has been completely served. If long-running requests occur in applications, the default of 4000 requests may not be adequate.
To set AppPoolQueueLength to a higher value (for example, to 4500), use one of the following two methods:
Note When you change this value, Microsoft recommends that you test the new value thoroughly because this increase may cause the application to perform poorly because of the additional resources being used by the queuing.
- Method 1
- Click Start, click Run, type cmd, and then press ENTER to open a command prompt.
- Change to the %systemdrive%\inetpub\adminscripts directory.
- Type the following:cscript adsutil.vbs set w3svc\apppools\AppPoolQueueLength 4500Important If an application pool has been explicitly assigned a specific value, this command will not override the value. You must set the value at the individual application pool level. For example:W3svc\apppools\apppoolname\apppoolqueuelength
- Method 2
- In the IIS Microsoft Management Console (MMC), right-click the AppPools folder, and then click Properties.
- Click the Performance tab.
- For Request Queue limit, type 4500.
- Click OK.
- In the Inheritance Overrides dialog box, select the child nodes that you want to apply the new value to, and then click OK.
ID do Artigo: 816995 - Última Revisão: 30 de jul de 2008 - Revisão: 1