For about a month, my mouse pointer has been randomly freezing every 2 to 6 seconds, sometimes for hours at a time. When this happens, typing will also occasionally stop appearing for a few seconds, then all the characters I've typed show up at once. I also get occasional beachballs and apps that stop responding.
I've noticed that corespotlightd is almost always near the top of Activity Monitor, often using 150 to 200% CPU (I've seen it reach 219%). I've also seen kernel_task around 90 to 100%, along with other Spotlight processes using a lot of CPU.
Whenever I've noticed the mouse freezing, these processes have been running high, although high CPU usage doesn't always mean the mouse will freeze.
I've tried restarting, Safe Mode, rebuilding the Spotlight index, turning Spotlight off, and closing other apps, but nothing has fixed it. It actually stopped for about two days last week, then started right back up.
I've attached my EtreCheck report and Activity Monitor screenshots. EtreCheck was running when I took the screenshots, but I only installed it today, and these issues have been happening for weeks.
Does anyone have an idea why Spotlight keeps working so hard or what else I should check? It's getting impossible to get anything done.