I woke my Mac after it had been sleeping for a while and I noticed it was slower than usual. Clicking browser tabs felt like pushing through molasses.
I opened a Terminal window and typed:
top, and immediately1 saw photoanalysisd consuming 95% CPU. It showed no signs of letting up, after several minutes of watching it.
- What was it doing?
- Wasn’t photo analysis only supposed to happen when your Mac is idle or in PowerNap/sleep mode?
I opened Photos. Now two CPU hungry processes were going: Photos itself and photoanalysisd.
After a quick web search, I went straight to the first hit at Stack Exchange, and found this gem:
- Start Photos, let it continue past the first dialogue box;
- Now Preferences in the app menu is clickable (if it wasn’t before);
- Preferences > General , and untick both check boxes in Memories;
- Close Photos.
This stops photoanalysisd cold, no reboot or kill required.
Not sure how this guy figured this out, but this tip worked great. It did indeed stop photoanalysisd. Hopefully this trouble won’t crop up again.