Solved

All schedulers on Node 0 appear deadlocked due to a large number of worker threads waiting on LCK_M_S. Process Utilization 0%. and sql server gets restarted

Posted on 2008-10-24
4
1,320 Views
Last Modified: 2012-06-21
Hi ,
We have biztalk server which gets restarts now and then with the following error.
All schedulers on Node 0 appear deadlocked due to a large number of worker threads waiting on LCK_M_S. Process Utilization 0%. After googling  I found that it is schedular deadlock issue 17884 eventid. Can you please let me know how to investigate and mitigate.
0
Comment
Question by:Veereshvnashi
4 Comments
 

Author Comment

by:Veereshvnashi
ID: 22802385
Can somebody please look into the issue.
0
 
LVL 32

Accepted Solution

by:
bhess1 earned 250 total points
ID: 22838352
Be aware of the equation number of hosts * max thread-pool size * number of CPUs = potential DB sessions. Too many connections all trying to read and write to your MessageBox at the same time can overwhelm SQL Server, locking up the system and reducing your throughput dramatically.  According to research I found, you should try setting the max threads per cpu down to (say) 50 and see how that affects your processing.  You can check the following link for instructions on how to do this:

http://msdn.microsoft.com/en-us/library/aa561380.aspx
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
index  - last use and update 8 56
SQL Merige returns error code when updating 15 51
SQl Agent job fails--SSIS package looses password 6 45
Not selecting duplicate data 6 46
There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
Introduction This article will provide a solution for an error that might occur installing a new SQL 2005 64-bit cluster. This article will assume that you are fully prepared to complete the installation and describes the error as it occurred durin…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now