我在 C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Config 的 machine.config 文件中添加了一些参数。
<system.net>
<connectionManagement>
<add address="*" maxconnection="24" />
</connectionManagement>
</system.net>
<system.web>
<processModel autoConfig="true"
maxWorkerThreads = "100"
maxIoThreads = "100"
minWorkerThreads = "50"
minIoThreads = "50"
/>
<httpRuntime
minFreeThreads="176"
minLocalRequestFreeThreads="152"
/>
</system.web>
如何检查 IIS 中的更改是否受到影响?
最佳答案
Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config: Holds the global defaults for the .NET framework settings, including some of the ASP.NET ones (the rest of the settings are in the web.config at the same folder, which is sometimes called the root web.config).
ConnectionManagement
应该可以通过尝试打开超过指定数量的主机连接来轻松测试。更多详情可以引用这个issue .
关于asp.net - 如何检查 IIS 是否使用了 machine.config 文件中的更改?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55804675/