Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

Approach to SQL Server MWT exceeded issue

$
0
0

Hello,

I am using a SQL Server 2008 R2 SE on Windows Server 2008 R2 SE. I am getting the below errors in the applications we are using and the errors from sql server log at the same time:

App Error:

System.Data.SqlClient.SqlException: The query processor could not start the necessary thread resources for parallel query execution.

SQLServer Error Log:

SubprocessMgr::EnqueueSubprocess: Limit on 'Max worker threads' reached.

I am having 24 Logical processors and the Maximum Worker Threads setting is currently set to 0. Per the following link I can change the max worker thread setting to 832 but I am not quite sure if that's the right thing to do without any analysis.

http://blogs.msdn.com/b/boduff/archive/2008/05/17/configuring-max-worker-threads-in-sql-2005.aspx

Is there a specific approach that I shd follow. Thanks for your help in advance.


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>