Solution to IIS suspended animation

  

In the process of using IIS, there is a situation of suspended animation, you can see how this article is solved. IIS Log:

Application: ISAPI 'C:\\WINDOWS\\system32\\inetsrv\\asp.dll' Reports a problem with itself for the following reason: 'ASP is not working properly because 100% of the execution request is suspended And the request queue has already used 0%. '.

About server 2003+IIS6 'ASP is not working properly, because 100% of the execution request is suspended

It looks like this: The site can't be opened, or it opens very slowly. HTML can be opened. Start or recycle the application pool to recover. But after a while, there will be

logs: 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: ISAPI 'C:\\WINDOWS\\system32\\inetsrv\\asp.dll' report itself There are problems for the following reasons: 'ASP is not working 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. Generally speaking, it is due to In the application pool of the same IIS, a certain ASP code error occurred, which caused the memory to run out and check the code itself. It can be isolated to separate application pool debugging.

3. Reduce application pool recycling time. The default is: 1740. . Can be set to 120 (every 2 hours)

The reason for IIS suspended animation:

Open IIS and you will see the application pool. By default, there is only one application pool. View the properties of the application pool. Will find his recovery time, the default is up to 1,740 minutes, that is to say, it needs to reclaim this application pool after 1740 minutes. If the maximum limit of the request is reached within this time, then ASP will be suspended. This is the case of a large website with a suspended animation. On the contrary, small websites do not have such a situation because they have fewer requests, less traffic, and have not reached the limit. Of course it depends on the number of websites on your server.

The following is the solution:

Information one

Single website solution: Reduce the application pool recovery time to 300-600 minutes, during which it needs to be used during the recycling process. A little CPU resources, no way, for stability, then set the recycling time to 5 am.

Multi-site solution:

Depending on the number of server sites, create multiple application pools, reduce the pool recovery time to 300 minutes, and then allocate 10 sites per pool. Left and right (this allocation is required by your website visits) If a website has a large amount of visits, it will be given a program pool separately, but the consequence of this is that it requires large memory, and a pool now occupies about 120MB of memory, anyway. Memory is big, it doesn't matter,

So how many websites allocate application pools, open IIS--View the website properties you want to assign, view the home directory--you will see the application pool below, assign One will do.

资料二

When you use iis6.. If you installed the dynamic network forum. There must have been iis6 fake death.. Is the asp page open slowly.. but the iis is normal The static webpage opens at the same speed.. this time.. I have been restarting the method.. Checked the official data results are not... According to the official information..win2003 will soon hit this patch.. is Iis6 does not care about access driver support.. It can be considered a bug.. Because my server virtual host is more.. and most of them support asp.. If you are suspended, you can not run.. In the multi-faceted data search.. find A relatively simple method.. specifically my test is passed..iis6 comes with a data application pool.. Now use him to solve the suspended animation..

First set bbs a separate directory.. Then click on Application Pool.. New Application Pool. Enter the application pool id..

Then put the bbs under the virtual directory. Just use the program pool.. Select the newly created application pool...

Then go back to the application pool just set up...click ..properties...to recycle the number of work processes (minutes The clock and the number of recycling work processes are also checked in the following time recovery time process.. Then add the left side of the program pool in the following time.. Select a time.. Generally speaking.. Website to 3 am. Basic There are very few people.. At this time, the number of processes of bbs is recovered.. It can solve the phenomenon of iis suspended animation..

Of course, you can configure other information. For example, the user name of iis6.. We can open the computer management.. Then open the computer user management.. add a user.. after setting it up.. inside the application pool.. logo.. put the added user on it.. use the user to test the recycling process. Of course there are other configurations.. It's actually very simple.. Just look at it.. you can understand the meaning...

You can also use a dedicated tool to reclaim the application pool.. so convenient and Fast..iis backup. Uniform modification of virtual host ip and ip record of port access.. Using batch processing is a very simple and convenient method. So. It is not easy to put a server safely.. Things.. especially iis.. often go to the official website to search for information is a good Habits.. There is also a regular access log.. and the registry user also loaded the program running. And the service is also a good way.

Copyright © Windows knowledge All Rights Reserved