Microsoft KB Archive/317821

= BUG: Parallel query may stop responding or fail with 8650 error message =

Article ID: 317821

Article Last Modified on 7/26/2007

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



This article was previously published under Q317821



Bug #: 101305 (SQLBUG_70)



SYMPTOMS
If you configure SQL Server to use more than one processor on a multi-processor computer, and you run

a query that uses intra-query parallelism, the query may stop responding on Microsoft SQL Server 7.0 &quot;Golden&quot;,

Service Pack (SP1), Service Pack (SP2), and Service Pack (SP3) versions. After you upgrade to SQL Server 7.0

Service Pack 4 ( SP4), you may receive the following error message:

Server: Msg 8650, Level 13, State 1, Line 1 Intra-query parallelism caused your server

command (process ID #7) to deadlock. Rerun the query without intra-query parallelism by using

the query hint option (maxdop 1).

If the max degree of parallelism option is set to zero, or greater than 1, you may receive the error message.



WORKAROUND
To work around this problem, use one of the following methods:   Set the max degree of parallelism option to 1 to suppress parallel plan generation. The default value is

zero (0). A zero value means use all available processors for query execution.

In Query Analyzer, run the following code to turn off max degree of parallelism:

sp_configure 'max degree of parallelism', 1

go

reconfigure with override

go  Add the OPTION (MAXDOP 1) query hint to the SELECT statement to disable parallel plan

generation for the specific query.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

