Search code examples
.netasp.netiiscontentionmachine.config

Weird things with machine.config


I am trying to tune IIS to reduce contention, and following many articles on the .net I am trying to locate this in the file to no result:

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

Is it normal that none of the .net framework versions contain a machine.config file that contains the above settings?


Solution

  • 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.