我正在尝试调整IIS,以减少争用,并在.NET上追随许多文章我正在尝试在文件中找到此文件,没有结果:

 <system.web>
     ...
    <httpRuntime minFreeThreads="8" minLocalRequestFreeThreads="4" ... />
     ....
    <processModel maxWorkerThreads="20" maxIoThreads="20" ... />
      ....
 </.system.web>
.

是正常的,没有一个.NET Framework版本包含包含上述设置的计算机文件文件?

有帮助吗?

解决方案

Certainly - if they're not present then the default values will be used.

The default value for minFreeThreads is the same as you're setting , 8, and the default for minLocalRequestFreeThreads is 4.

maxWorkerThreads has a default value of 20 as does maxIoThreads.

So setting those will make no difference unless someone has set them in the machine.config to lower calues.

其他提示

Yep. If they're not explicitly stated, the defaults will be used as specified here

http://support.microsoft.com/kb/821268 The one and the only one you need.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top