We have been trying to track down some timeout issues with our SQL Server. Our SQL Server runs a AccPac Account System, an Internal Intranet site and some SharePoint Content DBs.
We know that some of the queries are complex and take some time, though the timeouts seem to happen randomly and not always on the same pages/queries. IIS and the SQL timeouts are set to 60 and 120 seconds.
Looking at some of the SQL Server settings, I noticed that MAXDOP was set to 1. Before doing extensive research on it and looking through the BOL, another DBA and I changed it to 0.
Server is a Hyper-V VM with:
Processors:4
NUMA nodes:2
Sockets: 2
Interesting thing happened. Our Timeouts seem to have disappeared. Going from several a day, we are now at 1 every few days. Though now the issue we are having is that our Deadlocks have gone through the roof. Going from one or two every few days, we are up to 8+ a day!
We have been changing our Select statements to include WITH (NOLOCK) so they do not compete with the UPDATE statements they usually fall victim to. The Deadlocks and timeouts do not seem to be related to any of the SharePoint Content DBs. All of the deadlocks are with our Intranet Site and When it communicates with the AccPac DB, or the Internet Site on its own.
Any Suggestions on where I should be focusing my energy on benchmarking and tuning the server?
Thank you,
Scott<-