Quantcast
Channel: SQL Service Broker forum
Viewing all articles
Browse latest Browse all 461

Sql deadlock errors / sys.sysdercv

$
0
0

Every now and then we see sql deadlock errors in our activation sp.  Specifically, the race condition happens on FOTNAudit.sys.sysdercv.   What is sys.sysdercv table used for and how do you prevent deadlocks against it?

<deadlock-list><deadlock victim="process7fab5f1468"><process-list><process id="process7fab5f1468" schedulerid="21" kpid="0" status="background" spid="38" sbid="0" ecid="0" priority="0" trancount="3"><executionStack><frame procname="FOTNAudit.dbo.BatchAuditMessageDequeue" line="117" stmtstart="9800" stmtend="9878" sqlhandle="0x03000d000aa92912b22bf0001aa6000001000000000000000000000000000000000000000000000000000000">
END CONVERSATION @RecvReqDlgHandle;     </frame></executionStack><inputbuf></inputbuf></process><process id="process9436e9c28" taskpriority="20" logused="2492" waitresource="KEY: 13:281474981494784 (3670049cdf92)" waittime="90" ownerId="8602590955" transactionname="Main" lasttranstarted="2016-11-15T08:19:12.293" XDES="0x36178f770" lockMode="U" schedulerid="3" kpid="15320" status="background" spid="38" sbid="0" ecid="0" priority="0" trancount="3"><executionStack><frame procname="FOTNAudit.dbo.BatchAuditMessageDequeue" line="117" stmtstart="9800" stmtend="9878" sqlhandle="0x03000d000aa92912b22bf0001aa6000001000000000000000000000000000000000000000000000000000000">
END CONVERSATION @RecvReqDlgHandle;     </frame></executionStack><inputbuf></inputbuf></process></process-list><resource-list><keylock hobtid="281474981494784" dbid="13" objectname="FOTNAudit.sys.sysdercv" indexname="cl" id="lock21dea7d300" mode="X" associatedObjectId="281474981494784"><owner-list><owner id="process9436e9c28" mode="X"/></owner-list><waiter-list/></keylock><keylock hobtid="281474981494784" dbid="13" objectname="FOTNAudit.sys.sysdercv" indexname="cl" id="lockcdb6f4100" mode="X" associatedObjectId="281474981494784"><owner-list/><waiter-list><waiter id="process9436e9c28" mode="U" requestType="wait"/></waiter-list></keylock></resource-list></deadlock></deadlock-list>

Microsoft SQL Server 2014 (SP1-CU3) (KB3094221) - 12.0.4427.24 (X64) 
Oct 10 2015 17:18:26 
Copyright (c) Microsoft Corporation
Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.3 <X64> (Build 9600: )


Viewing all articles
Browse latest Browse all 461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>