IIS HTTP Stopped Taking Request and Connections_refused

By admin, July 11, 2015 11:40 am

Recently, one of the web server suddenly stopped from taking any request, restarted IIS WWW service won’t help, and there is no W3WP.exe in the process at all! Everything else seems normal, of course restarting the whole server helps, but it will happen again in a few months, so this is not the permanent solution.

Then I found out there are tons of “Connections_refused” entries are logged in the Httperr.log, it turns out the server has run out of non-pool memories.

Work around for this issue is to add the EnableAggressiveMemoryUsage registry entry to the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters

Then, set the EnableAggressiveMemoryUsage registry entry to 1.

To do this, follow these steps:

  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type EnableAggressiveMemoryUsage, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. On the File menu, click Exit to exit Registry Editor.
  8. Restart the HTTP service. To do this, follow these steps:
    1. Click Start, click Run, type cmd in the Open box, and then click OK.
    2. At the command prompt, type net stop http /y, and then press ENTER.
    3. At the command prompt, type iisreset /restart, and then press ENTER.

By default, the HTTP service in IIS 6.0 stops accepting connections when nonpaged pool memory reaches 20 MB. When you enable the EnableAggressiveMemoryUsage registry entry, the HTTP service stops accepting connections when nonpaged pool memory reaches 8 MB.

2 Responses to “IIS HTTP Stopped Taking Request and Connections_refused”

  1. Danny says:

    I also facing issues on IIS6 (win2003), and the problems only be fixed in IIS 7 (Win2008 / Windows 2008R2 )

    • admin says:

      Not much problem in IIS6 really…there are always solutions to these kind of problems if you google for it…so go go!

Leave a Reply