Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mathias 47 posts 191 karma points
    Oct 31, 2019 @ 07:35
    Mathias
    0

    Umbraco crashes from time to time - NuCache.Content.Db is being used by another process

    Hello

    I am encountering this weird issue which I cannot explain.

    So I got this Umbraco website that we've built for a client, which is hosted in Azure. The site works wonders, but from time to time (it's been quite while since this last happend), the site crashes and we have the restart the entire Azure AppService.

    Checking in the Umbraco 8 Logviewer I find this error, the same error that we've encountered before if my memory serves me:

    https://ibb.co/ZM4wbkx

    System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\App_Data\TEMP\NuCache\NuCache.Content.db' because it is being used by another process.
    

    Something seems to be holding the NuCache.Content.db file hostage, restarting the App service seems to solve it. But this is not a sustainable solution to the problem.


    Has anyone else come across this issue?

    Any suggestions on how we can solve it?


    Many thanks,

    Mathias

  • Steve Megson 151 posts 1022 karma points MVP c-trib
    Oct 31, 2019 @ 15:40
    Steve Megson
    101

    There are a few issues in github discussing this:

    https://github.com/umbraco/Umbraco-CMS/issues/5035

    https://github.com/umbraco/Umbraco-CMS/issues/6363

    https://github.com/umbraco/Umbraco-CMS/issues/6546

    There are a few possible solutions suggested, I think the recommended solution is this one.

  • Mathias 47 posts 191 karma points
    Nov 01, 2019 @ 07:47
    Mathias
    0

    Thanks Steve!

    I followed the instructions from the recommended solution. Hopefully this will sort out our problem.

Please Sign in or register to post replies

Write your reply to:

Draft