Open the Web server IIS---Control Panel-Administrative Tools--Internet Information Services IIS Manager
Open Application Pool--Find the application pool used by the site--Select advanced settings on the right
The application pool queue length is visible in the Advanced Settings window, and the queue length is related to the maximum number of connections set by the site
The "Maximum number of worker threads" in the application pool is visible in the Advanced Settings window, with the maximum number of worker threads associated with the server (typically 1-20 in)
Locate the corresponding Web site in the IIS window right-click on the "Manage Web Site"---"Advanced settings", the "Maximum concurrent connections" setting under the connection limit in the window, this parameter is not as large as possible.
"Maximum concurrent connections" "Queue Length" "Maximum number of worker processes" parameter relationship and role description When a user is working on a Web site, a request is sent to the server Web site, and multiple clients visit the site with multiple requests and the maximum number of concurrent connections that are set according to the site when the request comes over Processing more than the maximum number of concurrent connections is returned directly to service unavailable HTTP Error 503. The service is unavailable. "Maximum concurrency" will be assigned to process the return information based on the Web site using the application pool "max worker threads" + "Queue Length", first to return information based on the maximum number of worker threads, the other 990 to wait for the queue, The first 10 finishes will process the information in the queue, and if the maximum number of concurrent numbers minus the maximum worker process count is greater than the queue length, there will be more direct service Unavailable HTTP Error 503. The service is unavailable. Such as:
- 7
Summary: The best way to set up is "Maximum concurrent connections" 1000 = "Queue Length" 990+ "Maximum number of worker processes" 10
IIS Web site maximum number of concurrent connections