Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

Deadlock in BatchRun.serverProcessDependencies()

Posted on by

Hi All,

Batch jobs are executing for long time, when we check the batch server , we got the below error.

Batch jobs executed when we cancel and re-run.

Frequently some job is running for long time, observed all the long running jobs are executing on same batch server, it is having 32 GB RAM.

Please advice how we can resolve this issue.

"Object Server 01: Microsoft.Dynamics.Ax.Xpp.DeadlockException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.DeadlockException' was thrown.
at Dynamics.Ax.Application.BatchRun.serverProcessDependencies(Boolean forceProcessing, Boolean ) in BatchRun.serverProcessDependencies.xpp:line 171
at Dynamics.Ax.Application.BatchRun.serverGetTask(Batch batch, String serverId) in BatchRun.serverGetTask.xpp:line 71
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at BatchIL.startTask()
at BatchIL.CheckBatchJobs()
at BatchIL.threadFunc(Object threadArg)"

  • Deadlock in BatchRun.serverProcessDependencies()
    I have the same issue in ax2012 r3 cu11. Is this have a hotfix? I found nothing in LCS.
  • Umesh Pandit Profile Picture
    Umesh Pandit 9,261 User Group Leader on at
    Deadlock in BatchRun.serverProcessDependencies()
    Hello Akbarpasha,
     
    Was this fixed? I am also having the same issue, thought to start from the community.
  • Martin Dráb Profile Picture
    Martin Dráb 228,493 Most Valuable Professional on at
    RE: Deadlock in BatchRun.serverProcessDependencies()

    Before investigating the actual cause, I would check if there isn't a fix already available. Look into Issue Search in LCS. Also, if you aren't on the latest version (of the kernel as well as the application), consider upgrading, so you have all fixes and improvements in place.

    If it doesn't help, you'll need to find out which queries blocked each other and on which resource. You can designing a change unless you know the cause.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans