FIX: Deletes, Updates and Rank Based Selects May Cause Deadlock of MSSEARCH

Article translations Article translations
Article ID: 297209 - View products that this article applies to.
This article was previously published under Q297209
BUG #: 31550 (PKM/SQL 2000)
Bug #: 353731 (SHILOH_BUGS)
Expand all | Collapse all

SYMPTOMS

SQL Server 2000 uses the MSSEARCH service to provide full text query functionality.

A catalog can hold one or more indexes. The MSSEARCH service can perform insert, update and delete operations (population) at the same time that SQL Server is performing select operations against the catalog. When a catalog encounters inserts, updates and rank based select queries on similar key values, a deadlock may occur.

Queries against the catalog stop responding (hang) indefinitely and may create a condition where all SQL Server worker threads are blocking on MSSEARCH queries and the SQL Server appears to stop responding.

CAUSE

An undetected deadlock condition when a crawl is updating, deleting or inserting records in the catalog while rank based queries are executing.

RESOLUTION

SQL Server 2000
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language. The English version of this fix should have the following file attributes or later:
   File name     Platform
   ----------------------

   s80287i.exe   INTEL
				
NOTE: Due to file dependencies, the most recent hotfix or feature that contains the preceding files may also contain additional files.

WORKAROUND

Avoid full text queries while catalog population is in progress.

STATUS

This problem was first corrected in SQL Server 2000 Service Pack 1.

MORE INFORMATION

SQL Server 2000 contains features for Full Text Change Notification and the CONTAINSTABLE query syntax. When the catalog population or query is running and the notifications result in deletes and inserts on similar keys while the rank based select queries are traversing the Tquery.dll, MSSEARCH may encounter the deadlock condition.

Properties

Article ID: 297209 - Last Review: October 7, 2005 - Revision: 4.4
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbautohotfix kbhotfixserver kbbug kbfix kbqfe KB297209

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com