on application pool my .net core(3.1) application suddenly shutdown(in production server), I often get the following entry in event log Failed to gracefully shutdown application 'MACHINE/WEBROOT/APPHOST/SITEName'.
Failed to gracefully shutdown application (IIS Hang)
In most cases you need other evidence to tell that there is a serious issue. Such are typical warnings on many machines. –
Bork
Could you please tell me how you find this application is not gracefully shutdown? Do you write some trace logs in your application to trace the gracefully shutdown. If not, I suggest you could try to follow this answer to do it. –
Sissified
It's usually seen in event viewer/Application. Event Id 1005, source "IIS AspNetCore Module V2" –
Dicks
© 2022 - 2024 — McMap. All rights reserved.