|
I am getting error
I am getting this error in high concurrency situation. Please suggested how to figure out the cause?
(comments are locked)
|
|
You need to get more information in order to understand what's causing the deadlock. Usually the best way is to enable traceflag 1222 on the server. This can sometimes be difficult, especially on production machines, since it requires a restart. In the mean time, if you can reproduce the problem at will, try turning on a trace and capture the event Locks:Deadlock. That will show a graphical plan detailing the deadlock which will make it much easier to fix.
(comments are locked)
|
|
Check John Sansom's answer to a question here for links to aide you. Deadlocks are generally caused by programming modules that do not perform the steps in the same order as each other. Module 1 locks table1 then table2 whereas module 2 does it in the reverse order. Neither module is able to continue because it has to wait on the resource.
(comments are locked)
|


Did you capture the deadlock graph using 1222 as recommended by Grant Fritchey? If you did, can you update your post with it and we can offer advice for how to solve the problem.