mdmclient high CPU usage
I work at a university that uses MDM profiles for device management. I'm setting up a new MacBook Air with macOS Catalina 10.15 (all updates installed) and I noticed the system was running a bit slowly and the fans were running higher than expected.
I checked Activity Monitor and saw that mdmclient was at 79% CPU usage with 3 threads. I shut down the Mac, let it cool down a bit, then turned it back on. I logged in as a local user and didn't launch any apps beyond Activity Monitor. Within 3 minutes, the fans were running hard.
Killing mdclient via Activity Monitor dropped the CPU usage and within a minute, the fans slowed down and the system had stabilized.
MacBook Air