I have a website where I use Episerver CMS 11 and also Commerce. I have an issue on my site where it is occasionally unresponsive for up to a couple of minutes. When recovered from this period of unresponsiveness, I have noticed the following line consistently in my log:
2018-12-13 00:14:15,167 [1] WARN EPiServer.Core.Internal.ContentCacheRemover: Cache cleared
The mystery-cache-clear is logged about 4-8 times per day, and seems to follow no pattern (except on 03:00 every day when I recycle app-pool in IIS). For example, this 24-hour period:
2018-11-11 03:00:27,079
2018-11-11 08:03:05,568
2018-11-11 12:12:04,301
2018-11-11 16:36:37,739
2018-11-11 19:48:09,106
2018-11-11 22:48:15,181
In my dev environment, I can trigger the "Cache cleared" message by running an iisreset.
I have noticed a warning event logged in windows Event Viewer -- under System -- for most of the periods of unresponsiveness, but not all.
Source: WAS, ID: 5011, Message:
A process serving application pool 'MyPool' suffered a fatal communication error with the Windows Process Activation Service. The process id was '3788'. The data field contains the error number.
Source: WAS, ID: 5010, Message:
A process serving application pool 'MyPool' failed to respond to a ping. The process id was '4500'.
My questions:
1. When/why does EPiServer log the "Cache cleared" message?
1.a Is the message logged consistently on startup?
2. My theory is that the EPiServer app is rebooted, and that the cache is cleared on initialization.
2.a Under what conditions can I expect EPi to reboot itself?
2.b Under what conditions can I expect IIS to reboot EPi?
3. Other theories?