Options

2013 R2 NAV Service going loopy

njwardnjward Member Posts: 38
edited 2015-07-02 in NAV Three Tier
Hello,
We had an issue yesterday where our NAV service suddenly started consuming up to 100% of the processor on the server. I re-booted the server that evening when nobody was on then system and all calmed down. However, as soon as people started logging in again in the morning off it went again. I actually had to re-boot during the day as it became non-responsive.

We normally see on average of less than 10% CPU usage.

Has anybody got any suggestions on how I can analyse and find the root cause of this problem.

Many thanks

Nick

Comments

  • Options
    andrewtandrewt Member Posts: 73
    Hi Nick,
    I would suggest starting with running the Performance Monitor on your NAV ServiceTier machine.
    There's a counter available named Microsoft Dynamics NAV which provides a whole bunch of indicators regarding your running NAV application.
    If this doesn't bring up any clues, you may have to have a deeper look on the SQL server itself by using Management Studio and/or SQL Server Profiler. But I am not very familiar with these tools...

    Hope this helps
    Andrew T.
  • Options
    andrewtandrewt Member Posts: 73
    Just one thing in addition:
    you may want to try SQL Tracing as well which will provide all SQL transactional details. This way you may be able to identify any large expensive (time consuming) tasks executed by NAV and finally get down to the source.
    Some tutorials can be found here:
    https://msdn.microsoft.com/en-us/dynamics/nav/dn833407.aspx
    http://blogs.msdn.com/b/nav/archive/2012/09/18/example-of-how-to-use-sql-tracing-feature-to-profile-al-code.aspx

    Cheers
    Andrew T.
Sign In or Register to comment.