This article is a mirror article of machine translation, please click here to jump to the original article.

View: 13218|Reply: 0

[Web] Service Unavailable is exceeding serverRuntime@appConcurrentRequestLimit

[Copy link]
Posted on 8/19/2019 11:11:54 AM | | | |
HTTP Error 503.2 - Service Unavailable is exceeding the value set by serverRuntime@appConcurrentRequestLimit.



Solution:

Since the default configuration was used before, the server could only handle a maximum of 5000 simultaneous requests, and this afternoon due to some circumstances caused more than 5000 simultaneous requests, resulting in the above error.

To avoid such errors, we adjusted the settings according to the relevant documentation so that the server supports 100,000 concurrent requests from the settings.

The specific settings are as follows:

1. Adjust the queue length of the IIS 7 application pool

Changed from the original default 1000 to 65535.

IIS Manager > ApplicationPools > Advanced Settings

Queue Length : 65535



2. Adjust the appConcurrentRequestLimit setting in IIS 7

Changed from the original default 5000 to 100000.



This setting can be seen in %systemroot%\System32\inetsrv\config\applicationHost.config:


3. Adjust the settings of processModel>requestQueueLimit in machine.config

Changed from the original default 5000 to 100000.


Reference articles:The hyperlink login is visible.

4. Modify the registry to adjust the number of simultaneous TCPIP connections supported by IIS 7

Changed from the original default 5000 to 100000.



5. Run the command to take effect with the settings



After completing the above 4 settings, you can support 100,000 concurrent requests, and the blog garden blog server has enabled the above settings.





Previous:Day 81 in Shenzhen
Next:The 82nd day in Shenzhen
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com