Troubleshoot IIS without responding to suspended animation state

Source: Internet
Author: User
Tags iis time limit
The workaround is as follows:

Internet Information Services (IIS) Manager-> Application pool->defaultapppool-> right-click Properties
First, recycling
1, recycling worker process (minutes): checked, the value is 1740
2, recycling worker process (number of requests): Not selected (originally set to 35000)
3, in the following time to recycle work process: not fill
4, consume too much memory when recycling worker process: all do not choose. (2, 3, 4 items may avoid server response problems that might be caused by a forced recycle process when the traffic is high, causing IIS to feign death without responding)
Second, performance
Select only idle timeout of 20 minutes. No other choice. The maximum number of worker processes in the Web garden is 1 (default). Note that the Web garden must remain the default, if you fill in more than 1 of the number will cause some Web site program background program can not open or refresh non-stop.

The original request queue is limited to 4000 and is now unrestricted.
III. Operational Status
The first two items are used, which is the original default setting. The start time limit is 90 seconds and the shutdown time limit is 180 seconds.

Start quick fail protection with hooks removed!
In order to avoid really encountering a lot of errors without prompting, you can not close, just the protection of the rapid protection of the scope of more, such as the failure of 50 times a period of 5 minutes to close the corresponding program.

"Closing time limit of 180 seconds" is a must, because the process shutdown time, originally a 90-second limit, is the default value, if the process shutdown time of more than 90 seconds, it is considered timeout, resulting in: Process shutdown time exceeded the limit log, so the appropriate extension of this time, you can avoid this error



The 2nd method:

Reason: The memory heap 戋 of the standalone process is exhausted, and IIS cannot create more process workspaces to handle

Workaround:
1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC
2. Under the Parameters key to create a new DWORD entry, the name is: Usesharedwpdesktop value of 1 restart IIS

3rd Kind

The problem has been resolved, found that the database connection can not be released, do not know what the reason, the same code in the local is good, there are problems on the server side, and finally in the connection string to add the following statement to solve the problem.

Pooling=true; MAX Pool size=512; Min Pool size=50; Connection lifetime=30

4th Kind

Create a new application pool, and different Web sites refer to different program pools.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.