High MySQL CPU usage with Hangfire in .NET Core

mysql
Tags: #<Tag:0x00007f7839df4270>

#1

Hello,
I am testing a .net core application on a VPS and whenever Hangfire is enabled, the CPU usage is 120% even when idle. Without hangfire enabled, its just around 5% at idle condition. I am not even using any queing but just using it as a cron task scheduler to run some tasks every few hours. Most of the CPU is used up by mysqld process. I tried changing the Polling duration to 5 minutes and even reduced the number of workers to just 2 but same. Is this normal behavior with Hangfire? As I mentioned, I don’t even queue tasks but just schedule a few simple tasks to run every few hours, but the CPU usage seems to be astoundingly high even for that. What are some suggestions to fix this behavior?

thanks