Вопрос

Я пытаюсь настроить IIS для уменьшения конкуренции, и после многих статей на .NET я пытаюсь найти это в файле, чтобы безрезультатно:

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

Это нормально, что ни одна из версий .NET Framework содержит файл Machine.config, который содержит вышеуказанные настройки?

Это было полезно?

Решение

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