New TrueNAS Scale 25.04 install - asyncio_loop consuming 114% CPU

Hi all, I am a newbie user of TrueNAS, moving over from Synology. I built a new machine on Friday, consisting of an Intel i4-12400, Gigabyte motherboard, 64GB DDR4-3200, and 5x8GB hard drives.

For some reason, I keep having a scenario where logging into the admin console is slow. It takes 5-10 seconds to get the login screen to load and enable the username and password fields. Once I log in, graphs are slow to populate.

I opened a terminal and looking at top it shows that asycio_loop is consuming a lot of CPU. The first time, I restarted middlewared, and then rebooted the box, and that resolved it. Obviously I don’t expect that I should have to do that, so I am looking for help. I’m not sure if there are any logs to look at to diagnose the problem.

Thanks for any help!

Maybe look at the audit table and see if you have a rogue API client that’s hammering our backend.