首页 期权学习期权知识正文

(IIS6)IIS Server is too busy 解决方法

xiaojiucai 期权知识 2020-08-18 457 0

Server is too busy意思是服务器繁忙,资源不够用

为什么会出现这个问题呢?

因为服务器的配置不同,所能承受的压力不同。

而服务器默认对链接数,线程数等有设置,但这个设置太小,基本不够用,所以我们要手动设置解决这个问题。

问题环境:windows2003+IIS6+.Net2.0

第一步:修改machine.config

.Net2.0版本用户就修改“C:\WINDOWS\Microsoft.NET\Framework \v2.0.50727\CONFIG\machine.config文件,

查找该文件中的“processModel”配置段落,修改其中的字段maxWorkerThreads="200" maxIoThreads="200"

原来默认的是<processModel autoConfig="true" />

修改为<processModel maxWorkerThreads="200" maxIoThreads="200" />

第二步:修改web.config

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

  <system.web>

    <httpRuntime appRequestQueueLimit="65535" />

  </system.web>

</configuration>

原文链接:https://www.qiquanji.com/post/8137.html

本站声明:网站内容来源于网络,如有侵权,请联系我们,我们将及时处理。

微信扫码关注

更新实时通知

版权声明

本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。

评论