Calling FlushFileBuffers() on Bidirectional File Transfer May Cause a Deadlock (288794)
The information in this article applies to:
- Microsoft Windows 2000 Server SP1
- Microsoft Windows 2000 Server SP2
- Microsoft Windows 2000 Advanced Server SP1
- Microsoft Windows 2000 Advanced Server SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional SP2
This article was previously published under Q288794 SYMPTOMS
If a client is transferring a large file to a server, and at the same time the server is transferring a large file to the client, one or both of the copy operations may stop (or hang). This can occur if the program that is copying the file calls the FlushFileBuffers function after issuing the Write call.
This problem does not occur with typical Copy and Xcopy utilities because they do not call FlushFileBuffers after issuing Write calls.
CAUSE
Flushes cause write operations, and these write operations are not expected to go into the cache. However, the server message block (SMB) server is issuing cached writes in the flush path. These cached writes cause a deadlock condition in the cache manager.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name
------------------------------------------------------------
5/4/2001 03:48p 5.0.2195.3573 1,685,440 Ntkrnlmp.exe
5/4/2001 03:49p 5.0.2195.3573 1,685,248 Ntkrnlpa.exe
5/4/2001 03:49p 5.0.2195.3573 1,705,856 Ntkrpamp.exe
5/4/2001 03:48p 5.0.2195.3573 1,663,360 Ntoskrnl.exe
4/2/2001 03:46p 5.0.2195.3444 237,072 Srv.sys
5/4/2001 06:25p 5.0.2195.3407 73,488 Srvsvc.dll
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbfix kbSecurity kbWin2000PreSP3Fix kbWin2000sp3fix KB288794 |
---|
|