IIS suspended death solution shortens IIS application pool recycle time to reduce IIS suspended animation _win server

Source: Internet
Author: User
IIS log:
Application: The ISAPI ' C:\WINDOWS\system32\inetsrv\asp.dll ' reports that it has its own problems for the following reasons: ' ASP is not normal because 100% of the execution request is suspended and the request queue has been used 0%. '。
About the server 2003+IIS6 ' ASP is not normal because 100% of the execution request is suspended
is as follows:
The site cannot be opened or is slow to open. HTML can be opened. Restart or recycle the application pool to recover. But it'll be a while.
The log will have:
ISAPI ' C:\WINDOWS\system32\inetsrv\asp.dll ' reported itself as unhealthy for the following reason: ' ASP unhealthy because 100% of executing requests are hung and 6% of the request queue is full. '.
or:
The ISAPI ' C:\WINDOWS\system32\inetsrv\asp.dll ' reports that it has its own problems for the following reasons: ' The ASP is not normal because 100% of the execution request is suspended and the request queue has already used 0%. '。
Workaround:
1.asp is correctly mapped to ' C:\WINDOWS\system32\inetsrv\asp.dll '
2. In general, it is due to a station ASP code error in the same IIS application pool that makes the memory run out and examines the code itself. can be isolated to separate application pool debugging
3. Reduce application pool recycle time. The default is: 1740. can be set to 120 (every 2 hours)
Why IIS is suspended from animation:
Open IIS you will see the application pool, the default only one application pool, view the application pool properties, will find his recovery time, by default up to 1740 minutes, that is, need to recycle the application pool after 1740 minutes, if at this time, the maximum limit of the request, Then there will be the situation of the ASP suspended animation, this is a large site of suspended animation, instead, small sites do not appear such a situation, because he requested less, less traffic, has not reached the limit of the number. Certainly depends on the number of sites on your server.
Here's how to fix it:
Information A
Individual Web site solutions:
Shorten the application pool time to 300-600 minutes, during which the recovery process requires a bit of CPU resources, no way, for stability, and then the recovery time set to 5 o'clock in the morning.
Multi-site solutions:
Create multiple application pools, depending on the number of server sites reduce each pool recovery time to 300 minutes, and then allocate each pool 10 sites (this allocation is required by your site traffic) if a site, a large number of visits, alone to give him a program pool, but the consequence of this is the need for large memory, A pool now occupies 120M of my memory, anyway, the memory is big, okay,
How many Web sites allocate application pools, open iis--to view the properties of the sites you want to assign, view the home directory--you'll see the application pool below, and assign one.
Information Two
When you are using IIS6. If you installed the Dynamic Network Forum. There must have been a IIS6 suspended animation is like. Is that the ASP page opens slowly. But IIS is normal. Static Web page opening speed is the same. At this time. I've always been the way to reboot. Checked the official data. According to official sources,. Win2003 will soon hit this patch. It's IIS6 for access-driven support. It's a bug. Because I have more server virtual host. And most of them support ASP. If you can't run when you're suspended from death. In a variety of data search under ... Found a relatively simple way. The specific I test is passed. IIS6 with Data application pool. Use him now to solve suspended animation.
First, the BBS set up a separate directory. Then click the application pool. Create a new application pool. Enter the application pool ID.
And then put the virtual directory of BBS below. Just use the program pool. Select the new application pool you just created ...
And then go back to the application pool you just set up ... Click.. Property... The number of recycle worker processes (minutes) and the number of recycle worker processes are also checked on the following time recycle process. Then add to the left of the following time recycle pool. Select a time ... Generally speaking.. Website to 3 o'clock in the morning. The basic people are very few. Then recycle the number of BBS process. Can solve the existing image of IIS suspended animation.
Of course, you can also configure additional information ... For example, the user name of IIS6. We can turn on Computer Management. Then turn on computer user management. Add a user ... After setting up ... Inside the application pool. Identity.. Put the added users up. Test the recycle process with the user ... And, of course, there are. Other configuration ... Actually, it's very simple. Just take a good look. I can understand the meaning ...
  You can also recycle application pools by using dedicated tools. This is convenient and quick. Backup of IIS. IP records for the unified modification of the virtual host IP and port access. Batch processing is a simple and convenient method. So. To make a server safe. It's not that easy. Specifically, IIS. It's a good habit to go to the official website to search for information regularly. There is also the regular access log. And the user of the registry also has the program to load the operation. And service is also a good way.

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.