zoukankan      html  css  js  c++  java
  • Modifying the ASP.NET Request Queue Limit

    Modifying the ASP.NET Request Queue Limit

    When ASP.NET is queried, the request for service is carried over, and queued within, a pipe between Internet Information Services (IIS) and the ASP.NET worker process. (ASP.NET runs in its own process - this is different from classic ASP, which runs in the same process as the IIS service.) By default, this queue can contain no more than 5,000 requests. If there are more than 5,000 requests, users receive a "503 - Service Unavailable" error and are denied service.

    Although the default value is sufficient for relatively small numbers of Communicator Web Access (2007 R2 release) users, the request queue limit can easily be exceeded as the number of users approaches 4,500. Because of this, you might want to increase the request queue limit to 15,000, which is a task that you can implement by editing the machine.config file for .NET Framework. By setting the request queue limit to 15,000, you can provide a queue large enough to handle all of your client requests. In addition, if the server is running on Windows Server 2008, you need to configure the appConcurrentRequestLimit setting to support more than 5,000 connections.

    1. Click Start and then click Run.

    2. In the Run dialog box, type notepad %systemroot%Microsoft.NetFramework64v2.0.50727CONFIGmachine.config, and then click OK.

    3. Locate the processModel element that looks like this: <processModel autoConfig="true" />

    4. Replace the processModel element with the following value: <processModel enable="true" requestQueueLimit="15000" />

    5. Save and close the Machine.config file.

    6. For Windows Server 2008, in the Run dialog box, type appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:<#of users * 1.5>.

  • 相关阅读:
    webstorm如何调试vue项目的js
    Js调用本地exe的方式
    IE浏览器中使用js调用cmd命令行demo
    JS Array.reverse 将数组元素颠倒顺序
    webstorm 2018.2.5最新激活方式
    Vmware12安装centos系统详解
    如何查看电脑系统版本信息和显示文件后缀名
    怎样用命令行开启或关闭Windows服务
    Vue编写的todolist小例子
    Word如何发布文章到博客园开源中国网易博客
  • 原文地址:https://www.cnblogs.com/jimcsharp/p/5544949.html
Copyright © 2011-2022 走看看