Copied to clipboard

Flag this post as spam?

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


  • Damian Green 452 posts 1433 karma points
    Nov 03, 2015 @ 16:27
    Damian Green
    0

    Log scrubbing causing app restarts?

    Looking through the event logs and seeing this happening lots of times throughout the day:

    2015-11-03 15:41:53,090 [64] INFO umbraco.BusinessLogic.Log - [Thread 109] Log scrubbed. Removed all items older than 2015-09-04 15:41:52

    2015-11-03 15:41:53,090 [64] INFO Umbraco.Core.UmbracoApplicationBase - [Thread 109] Application shutdown. Reason: ConfigurationChange

    Why would log scrubbing cause this? Surely Umbraco not monitoring log files for changes?

    It is running v 7.1.8 currently.

    Any ideas anyone? Should this be happening? Doesnt seem right to me.

  • Damian Green 452 posts 1433 karma points
    Nov 03, 2015 @ 17:19
    Damian Green
    0

    The app restart happens after EVERY log scrub - sometimes this is every few minutes and others a few hours - no pattern to it but safe to say its restarting 30-40 times per day.

    We are seeing some performance issues with the site locking up and running out of resources and this is my first port of call as to whats going wrong.

  • Damian Green 452 posts 1433 karma points
    Nov 03, 2015 @ 17:29
    Damian Green
    0

    wonder if its related to this:

    http://issues.umbraco.org/issue/U4-6338

    Looking at the server now to see what hotfixes are on there.

  • Damian Green 452 posts 1433 karma points
    Nov 03, 2015 @ 17:39
    Damian Green
    0

    We are missing https://support.microsoft.com/en-us/kb/3052480 which sounds like the issue!

    Wil get this patched tonight and chime back in tomorrow if it has sorted the issue.

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Nov 04, 2015 @ 08:26
    Dave Woestenborghs
    0

    Hi Damian,

    I think you are right about the issue being the hotfix.

    It's even so that after every publish action the app will restart because the umbraco.config and Examine indexes get changed.

    So it restarts after every file change.

    Dave

  • Dan Lister 416 posts 1974 karma points c-trib
    Nov 04, 2015 @ 08:40
    Dan Lister
    0

    Hi Damian,

    We had this on a number of v4 sites. Turning off File Change Notification seemed to fix this issue. The application no longer restarted when any logs were scrubbed. Have a look at this blog post for more information regarding the change.

    Hope that helps.

    Thanks, Dan.

  • Damian Green 452 posts 1433 karma points
    Nov 04, 2015 @ 10:22
    Damian Green
    0

    Yeah ive seen the FCN stuff but ideally want to get the actual issue fixed rather than a workaround that we dont know what other issues this could cause.

    We applied all the hot fixes last night and we've had another crash this morning.

    Looking in the logs we now see this:

    2015-11-04 09:25:10,253 [6] INFO umbraco.BusinessLogic.Log - [Thread 15] Log scrubbed. Removed all items older than 2015-09-05 09:25:10 2015-11-04 09:25:10,270 [6] INFO Umbraco.Core.UmbracoApplicationBase - [Thread 15] Application shutdown. Reason: HostingEnvironment

    So its a different message to yesterday but still looks like log scrubbing is causing an app restart.

    Off to see what i can find out further now.

Please Sign in or register to post replies

Write your reply to:

Draft