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.
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.
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.
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.
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.
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.
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.
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
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.
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.
is working on a reply...