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,351 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where clause in stored procedure 8 64
How to import SQL 2000 database to SQL 2014 5 161
SQL Server 2005 database messed up. Can it be fixed? 4 37
Replication failure 1 23
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
When writing XML code a very difficult part is when we like to remove all the elements or attributes from the XML that have no data. I would like to share a set of recursive MSSQL stored procedures that I have made to remove those elements from …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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