We got a new iMac for Christmas and it has seemed really slow for the past couple of days. In desperation I checked out Activity Monitor and it shows photoanalysisd as the guilty process that is hogging my CPU. I assume this is related to the Photos app, but that's not even running!

What is "photoanalysisd", why is it using 77% of my CPU, and can I safely stop the process?

  • No proof, but I'm guessing it's searching for faces in your photos. – JMY1000 Dec 30 '17 at 4:50
  • @JMY1000 Yes, this is one of the main things it’s doing. – Monomeeth Dec 30 '17 at 5:33
up vote 17 down vote accepted

Your iMac is currently processing the photos in your Photos library, presumably because you’ve just imported/converted an existing Photos library from an earlier version of macOS.

If you suspect this has been the cause of your sluggishness for a couple of days, then it’s most likely you’ve got a very large photo library and that it’s being processed for the first time on your new iMac.

The fact that Photos isn’t running actually fits with your scenario, as launching the Photos app will pause the photoanalysisd daemon.

Although it takes a long time, once it’s finished your Photos app will be able to perform a lot of advanced functions due to all the metadata etc it’s processed, so I would let it finish what it’s doing.

NOTE:

Should you need to pause the process in order to free up some of your CPU, I would recommend just opening the Photos app for a while and then quitting it when you’re not using the computer. Note, however, that minimising the Photos app will act to restart the photoanalysisd daemon, so just leave it running in the background while you want to keep the daemon paused.

  • 2
    My photo library is 360GB in size, so it did take a long time, but all is working great now. Thanks! – user269919 Jan 1 at 20:59
  • I see this running (via ssh on another account) when I'm trying to log in! It has been sitting here for 10 minutes not letting me log in and I see this stupid background process and wonder why I'm still not logged in!!! – Michael Jun 17 at 5:59

Might I suggest the use of App Tamer?

It lets you pause/stop a process when it reaches a % of the processor time.

Since I use it, my computer temperature is always quite low.

Hope it helps!

P.S.: I am not affiliated at all with App Tamer. I am just a happy customer!

Opening Photos does not seem to pause photoanalysisd, whether in the background or foreground.

It just leads to both photoanalysisd AND photolibraryd eating CPU.

I have only a dozen or so photos in my library (this is my spare computer, my photos are on my main computer) and I've let the process run for a week, and it is still eating up 100% of both cores. My machine is unresponsive with the CPU fan at 100% (13" MacBook Pro Mid-2010). None of the solutions I found on the web worked, I finally temporarily renamed my photo library to hide it from the deamon, and instantly had both CPUs go from 100% to around 5%.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.