The IIS server is stuck for a period of time and cannot open the Web site (IIS management is unresponsive and the computer must be restarted)

Source: Internet
Author: User
Tags knowledge base

Problem Description:

The company wanted to use IIS to display some of the order follow-up on the site, so we installed IIS on a demo Win7 Pro computer, but after a period of time we found that every few days the page was inaccessible, and opening IIS Manager was not responding. IIS cannot be restarted at all. The problem can only be resolved by restarting your computer.

Question reference: HTTP://SUPPORT.MICROSOFT.COM/KB/934878/ZH-CN

Reason:
This issue occurs when the nonpaged pool memory available on the server is less than 20 megabytes (MB). When nonpaged pool memory is less than 20 megabytes (MB), the HTTP. SYS kernel-mode driver stops accepting new connections.
This issue may occur when the boot. ini file is enabled on the server in the/3GB switch.

Fault resolution:
The following is from Microsoft official, verified to solve the fundamental problem.

Tip: This section, method, or task contains steps that describe how to modify the registry. However, serious problems may occur if the registry is modified incorrectly. Therefore, make sure that you follow these steps carefully. To increase protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 how to back up and restore the registry in Windows

To work around this issue, add the Enableaggressivememoryusage registry entry to the following registry subkey:
Hkey_local_machine\system\currentcontrolset\services\http\parameters
Then, set the Enableaggressivememoryusage registry key to 1.

The steps are as follows:

To do this, follow these steps:
Click Start, click Run, type regedit in the Open box, and then click OK.
Please click the following registry subkey:
Hkey_local_machine\system\currentcontrolset\services\http\parameters
On the Edit menu, point to New, and then click DWORD Value.
Type Enableaggressivememoryusage, and then press ENTER.
On the Edit menu, click Modify.
In the Value data box, type 1, and then click OK.
On the File menu, exit the Registry Editor by exiting the list.
Restart the HTTP service. To do this, follow these steps:
Click Start, click Run, type cmd in the Open box, and then click OK.
At the command prompt, type net stop http/y, and then press ENTER.
At the command prompt, type Iisreset/restart, and then press ENTER.

More information

By default, the HTTP service in IIS 6.0 stops accepting connections when non-paged pool memory reaches a maximum of MB. When the Enableaggressivememoryusage registry key is enabled, the HTTP service stops accepting connections when non-paged pool memory reaches 8 MB. This situation may reduce the number of entries recorded in the "connections_refused" Httperr.log file. For more information about the Enableaggressivememoryusage registry key, click the following article number to view the article in the Microsoft Knowledge Base

The IIS server is stuck for a period of time and cannot open the Web site (IIS management is unresponsive and the computer must be restarted)

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.