Problem of iis crashes frequently
I have several websites made by asp.net core 6 running on IIS 10.
These days my websites sometimes strangely stop in application pools.
The application pools stop with this information in event viewer:
The description for Event ID 0 from source gupdate cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Service stopped
I have asked similar problem before. Someone tell me to try to catch the asp.net core exception first.
After I add an exception middleware to my asp.net core project. In spite, it catches some exceptions with any other bugs. However, when the application pools crash and stop, it catches nothing.
What's wrong with it and how can I solve this problem? Thank you.