web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Batchjob "Data ca...
Finance forum

Batchjob "Data cache refresh Batch"

(0) ShareShare
ReportReport
Posted on by 225

Hello,

in several D365FO Systems we have there are several Batchjobs (automatic generated i assume) called "Data cache refresh Batch". They are scheduled to run every 10minutes - but lots of them got stuck and run for 1-2 days until somebody canelling it.

What are these Jobs doing and how can i analyze why they are not running succesfully? In AX2012 there was the Job History where i could find the error-log. In D365 i found also the history but when i click on Log nothing is happening.

Thank you,

Thomas

Categories:
I have the same question (0)
  • Matt Alford Profile Picture
    40 on at

    Does anyone have an answer to this question? We are having a similar problem in our Production environment. The "Data cache refresh batch" job keeps getting stuck in Executing status and holds up other jobs.

  • Suggested answer
    Community Member Profile Picture
    on at

    The data cache refresh batch job should always be in executing status. It should continuously run.

  • Suggested answer
    Community Member Profile Picture
    on at

    Basically, that batch refreshes the counters on the tiles on workspaces.

    My suggestion would be to delete the old ones and create a new Data cache refresh batch job.

    1. Delete old ‘Data cache refresh batch’ batch job

    2. Go to System administration > Setup > Data cache > Data cache parameters

    3. Click on ‘Flush system cache’ under General tab.

    4. Click on ‘Initialize batch job’ under Cache refresh. It will create a new batch for “Data cache refresh”

    If you want to dig in further to find the cause then you can check for the application event log at the time “Data cache refresh” batch errors out or stuck in the execution phase.

    Thank you.

  • Suggested answer
    Ahmad ghubj Profile Picture
    227 on at

    Hey  Thomas,

    I dont  know how this could help you but in system administration under set up you can find data cache parameter  where you can stop the job and initialize it again.

    5732.3750.Batch-job.PNG

    Thanks

  • Evert Bos Profile Picture
    on at

    it is January 29 2019 and we have that same problem. The cache job that supposedly updates the tile counters is showing "executing" constantly but the "next scheduled date" is not updated and there is no job history and .... the counters on the tiles are not updated. 

    I deleted the batch job and created it again in the cache parameters , this time adding a batch group, which should be optional. But now the behavior improved. It started running every 10 minutes, still no job history and the next scheduled date/time to run was updated for a while.

    After 3 times it stopped updating that next date/time , shows in execution all the time but does not update our tile counters. 

  • Evert Bos Profile Picture
    on at

    There is a "configuration " screen in Sysadmin where all tiles show as enabled. This "enabled" checkbox" can switch to "no". This happens to us and nobody had touched these checkboxes. we said "enable all" that seems to be enough to keep the counters working,

    Our batch is stuck again but the counters work fine. 

    We have done the recommendation mentioned in a post to start over with new batches but they get stuck just the same after 2 or 3 correct runs (every 9 minutes).

    We have an open case with Msoft  for this.  

  • Evert Bos Profile Picture
    on at

    really? I thought every 9 minutes. And I have seen it do that, for a while. THen it stops.

    Counters are updated every 9 minutes. (don't know how to change that but it is acceptable).

  • Suggested answer
    Community Member Profile Picture
    on at

    5504.Screenshot_5F00_1.png

  • Evert Bos Profile Picture
    on at

    thanks Nathan!! learned something very new

  • AMdZ Profile Picture
    50 on at

    Hi Evert,

        any news on the ticket. Ihave the same issue in 7.3 PU 15. Tried also on a dev box with 7.3 and PU22 but no joy. Did microsoft come back with suggestions?

    Tried to kill and recreate the batch jobs.

    Tried to disable and renable the tiles I can see

    Still not showing any count

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans