DHCP Server Service May Stop Responding

Last reviewed: February 5, 1998
Article ID: Q164821
The information in this article applies to:
  • Microsoft Windows NT Server version 4.0

SYMPTOMS

The Dynamic Host Configuration Protocol (DHCP) server service may stop responding during administrative operations using the DHCP Manager application.

The specific operations that were found to make the service stop responding were adding reservations to active scopes and deleting scopes that had reservations defined. In each case, the server had to be extremely busy servicing DHCP client requests at the same time for it to stop responding.

CAUSE

This problem occurs when the DHCP server service deadlocks trying to acquire critical sections that guard access to the registry and the DHCP Jet database.

The deadlock occurs because, when a client issues a release request or a renew request, the DHCP server acquires the Jet database critical section and holds it while attempting to acquire the registry critical section. This causes a problem if it occurs at the same time as a DHCP administrative operation adds reservations in scopes or deletes entire scopes that contain reservations because these administrative operations acquire the registry critical section and hold it while attempting to acquire the Jet database critical section. Because client release or renew operations hold the Jet database critical section, the administrative operation cannot acquire it.

Likewise, because the administrative operation holds the registry critical section, the client release or renew operation cannot acquire it. This causes deadlock, and the DHCP server service stops responding.

RESOLUTION

The DHCP server service was modified so that contentions would not occur over the registry or Jet database critical sections during administrative operations.

To correct this problem, obtain the latest service pack for Windows NT 4.0 or obtain the hotfix mentioned below.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 4.0. This problem was corrected in the latest Microsoft Windows NT 4.0 U.S. Service Pack. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

   S E R V P A C K


Additional query words: hangs hang crash crashes freeze freezes
Keywords : kbbug4.00 kbfix4.00 kbfix4.00.sp2 NTSrv nttcp kbbuglist kbfixlist
Version : 4.0
Platform : winnt
Issue type : kbbug
Solution Type : kbservicepack


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.