IIS Application Pool Optimization Method

  

IIS Application Pool Optimization Scenario

Servers often generate “ Application Pools 'DefaultAppPool' The process that provides services is closed for longer than the limit. The process ID is '3504'. The error of "rds" caused the iis to be in a suspended state. It is understood that the IIS application pool is set. The solution is as follows (red text is marked): Internet Information Services (IIS) Manager -> Application Pool -> DefaultAppPool -> Right-click Properties 1. Recycle 1, Recycle Work Process (minutes): Checked, the value is 1740 (800 2, recycling work process (number of requests): (not selected) (originally set to 35000) 3, in the following time to recycle the work process: do not fill (03:00) 4, when the consumption of too much memory, the work process: no selected. (2, 3, 4 items may avoid the server response problem that may be caused by the forced recycling process when the amount of access is high, causing the iis suspended animation to not respond) (maximum virtual memory 350, maximum used memory 200) Second, performance (none Select) Only select the idle timeout for 20 minutes. Nothing else is chosen. The maximum number of working processes in WEB Park is 1 (default). Note that the web garden must be kept at default. If you fill in more than one number, the background program of some website programs will not open or refresh. The original request queue was limited to 4000 and is now unlimited. (To choose is 10000) Third, the running status (Enable PING, default) (Start the hook of fast failure protection to remove!) In order to avoid the real error when there are many errors, you can not close, just add the protection scope of fast protection Larger, for example, the number of failures of 50 times and 5 minutes will close the corresponding program. (The startup time is limited to 90 seconds, and the shutdown time is limited to 180 seconds.) “ The closing time limit is 180 seconds. It is necessary because the process is closed, the original is 90 seconds. It is the default value. If the process is closed for more than 90 seconds. , it thinks that the timeout, and thus: the process shutdown time exceeds the limit log, so, properly extend this time, you can avoid this error!

Copyright © Windows knowledge All Rights Reserved