FIX: Deadlocks Leave Orphaned Temp Tables, Generate 2540 ErrorsLast reviewed: May 5, 1997Article ID: Q152514 |
The information in this article applies to:
SYMPTOMSOn multiprocessor computers, orphaned tables are left in the tempdb database. Additionally, 2540 errors are generated in tempdb.
CAUSEIf a client repeatedly runs a stored procedure that creates tables in tempdb, it is possible to encounter deadlocks on the tempdb system tables. When this happens the temp tables will not always be cleaned up after the stored procedure terminates or when the client disconnects. This happens only on multiprocessor computers. It has not been replicated on any uniprocessor computer.
WORKAROUNDRestart SQL Server to clear the temporary tables. To prevent the problem from recurring, upgrade to Microsoft SQL Server version 6.50.
STATUSMicrosoft has confirmed this to be a problem in Microsoft SQL Server version 6.0. It has been fixed in Microsoft SQL Server version 6.50.
|
Additional query words:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |