Hello,
I am using ASP.NET Core 2.2. We are facing an issue from the last few days that there is sudden spike in CPU usage of my application after 8-10 hours. Then the system is required to be restarted and everything is back normal again.
I have tried profiling the code but is not able to figure out the issue. What is the common way through which I can identify the issue or what should be the best practices in order to avoid such scenarios? Basically I have 5 background services running infinitely with a delay of 2-5 minutes which syncs Mailboxes via Gmail, Outlook API and IMAP using Mimekit.
Thanks