Sometimes It’s Best Not To Monkey Around

Recently I found a poorly performing server and I could not figure out why with all of the usual troubleshooting techniques.  Something told me to look at some of the configuration settings and there it was shining like a crazy diamond.  The sp_configure option ‘max worker threads’ was set to a value of 16.  Seriously?

Now my curiosity was piqued.  There are experts who change settings like this because they know what they are doing.  Generally, I do not monkey around with these types of settings unless I have a really good reason to do so, and no a vendor telling me to do it is not a good reason unless this SQL Server is dedicated solely to them, which it is not!  Best practices says to leave this at zero so that SQL Server can manage the number of worker threads for optimal performance.  Who am I to think that I know better than some really smart guys from Redmond?  After doing some light reading on the subject, I learned that too few threads can cause “thread starvation” where there are not enough threads to service the incoming client requests resulting in poor performance.

In addition, setting this value too high can waste memory and also be detrimental to performance.  In conclusion, do not monkey around with the settings unless you know what you are doing.  That is all!

Enjoy!

 

Advertisements

About SQLGator

Florida Gator and Microsoft Data Platform MVP, Star Wars fanatic and is there anything else...oh yeah PS4! I am a geek and SQL Server DBA who dabbles with VMWare, there are other technologies greater than these? Not so fast my friend! I also love to travel to new and exotic places.

Posted on April 6, 2012, in Maintenance, Troubleshooting and tagged , . Bookmark the permalink. 2 Comments.

  1. sorry bout that, put that one on my tab! 😉

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: