FIX: Deadlock During Cursor Update Causes CPU Spin and SpinloopID: Q153802
|
A group of updates through cursors that result in the cursor being a
deadlock victim can cause the following error to appear in the error log:
closetable:table already closed for sdes %d
When SQL Server is the victim of a deadlock during a cursor update, it incorrectly releases a processes structure. This can create a situation where the process cannot properly release its spin lock and will then block all other processes.
When using cursors for updates make sure they will not get into a deadlock situation
Microsoft has confirmed this to be a problem in Microsoft SQL Server
version 6.5. This problem was corrected in the latest Microsoft SQL Server
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: lock
Keywords : kbnetwork SSrvErr_Log
Version : 6.5
Platform : WINDOWS
Issue type :
Last Reviewed: March 30, 1999