如何通过命令行增加IIS默认应用程序池中的队列长度?

我有一个运行Exchange的IIS服务器场,我们在HTTP错误中得到这个错误:

HTTP/1.1 POST /ews/exchange.asmx - 1 Connection_Dropped_List_Full MSExchangeServicesAppPool 

来自MSFT的build议是将应用程序池队列的长度从1,000增加到10,000

如何通过命令行将IIS的MSExchangeServicesAppPool更改为新的值

正确的语法可以在IIS.NET 网站上find。

要更改队列长度,您必须input:

 appcmd.exe set APPPOOL "DefaultAppPool" /add.queueLength:10000 

在你的情况下:

 appcmd.exe set APPPOOL "MSExchangeServicesAppPool" /add.queueLength:10000 

您可以列出当前的configuration设置:

 appcmd.exe list APPPOOL "MSExchangeServicesAppPool" /text:* 

希望这可以帮助。

我现在没有办法testing这个,所以这可能不起作用。 也就是说,您可以使用appcmd( http://www.iis.net/learn/get-started/getting-started-with-iis/getting-started-with-appcmdexe )来更改队列长度 -它在applicationHost.config( http://www.iis.net/configreference/system.applicationhost/applicationpools/add

例如

 %systemroot%\system32\inetsrv\APPCMD set apppool "MyAppPool" /add.queueLength 10000