So in production, all my dotnet core apps hosted in IIS 8 (Windows server 2012 R2) restarts at random times during the day. About once a day. Never at the same time - random times. I've got many users hitting this in production, as well as scheduled services failing, etc... In the end this restart causes donwtime (my main service takes about 5 minutes to start up, since it's getting hammered with requests, etc) everyday, which is obviously unacceptable.
In the event viewer, there is nothing preceding the restarts - there's only the one-liner for each service:
Information - Timestamp - IIS AspNetCore Module - 1001 - None
With details: Process '9652' started successfully and is listening on port '25405'.
For every single dotnet core app (dotnet 1.0.0 - netcoreapp1.0) I have. Sometimes the application fails after first try, probably because its getting too many hits, or something, which just makes the downtime longer.
There is no IIS or dotnet crash dumps (I enabled crash dumps through WER). There's nothing of help in the application logs, nothing in IIS logs... I switched on the STDOUT logs as well - nothing of help around time of restart.
Version of dotnet core on the server: .NET Core 1.0.1 - SDK 1.0.0 Preview 2-003133 (x64) - not that I think dotnet's the culprit, since it's IIS doing the restart...
What can I do to find out why my apps are crashing?