cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
maa Frequent Visitor
Frequent Visitor

Connecting to NAV via Odata result in deadlock on SQL server and NAV service tier shutdown

Dear Community,

I am experiencing issues when connecting to NAV via Odata feed.

With no specific pattern, the SQL database log the following error and afterwards all the NAV services lose connection to the SQL database.
"All schedulers on Node 0 appear deadlocked due to a large number of worker theads waiting on ASYNC_NETWORK_IO"

The issue is observed when updating from Power BI desktop and when using scheduled update via the datagateway on Power BI Service and on two different environments.

Have anyone experienced the same issues and did you find a solution?

2 REPLIES 2
Moderator v-yuezhe-msft
Moderator

Re: Connecting to NAV via Odata result in deadlock on SQL server and NAV service tier shutdown

@maa,

Please  kill the process which is consuming the majority of Worker Threads in SQL Server using the dedicated administrator connection (DAC), then increase the “Max Worker Threads” configuration option following the instructions in this blog: https://blogs.msdn.microsoft.com/nav/2015/06/03/sql-server-worker-threads-and-microsoft-dynamics-nav....

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
maa Frequent Visitor
Frequent Visitor

Re: Connecting to NAV via Odata result in deadlock on SQL server and NAV service tier shutdown

@v-yuezhe-msft,

Thank you for your input.
We already tried increasing the "Max Worker Threads" without resolving the issue.