Article ID: 977518 - View products that this article applies to.
When you restart the Distributed File System Replication (DFSR) service on a server that is running Windows Server 2008, or you restart the server, the following event may be logged in the DFS Replication log:
After some time has passed, DFSR logs event ID 2214. This event indicates that the database recovery process has finished. During database recovery, replication performance is slowed.
Log Name: DFS Replication
Event ID: 2212
Task Category: None
The DFS Replication service has detected an unexpected shutdown on volume Drive_Letter. This can occur if the service terminated abnormally (due to a power loss, for example) or an error occurred on the volume. The service has automatically initiated a recovery process. The service will rebuild the database if it determines it cannot reliably recover. No user action is required.
This issue occurs because the Service Control Manager (SCM) uses the default time-out value of 20 seconds for stopping a service. In some complex DFSR implementations, this time-out value may be too short, and DFSR stops before the appropriate database is closed. At service restart, DFSR detects this condition and performs the database recovery.
To resolve this issue, you can change the default time-out value that is used by the SCM by adding the following registry value:
Value Name WaitToKillServiceTimeout
Data Type REG_SZ
String 20000 milliseconds (default value)
To specify the wait time, follow these steps:
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/146092/ )How to Increase shutdown time for services to close properly
Article ID: 977518 - Last Review: November 20, 2009 - Revision: 1.1