Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

photoanalysisd taking large amounts of cpu

After upgrade to OS X Sierra - I'm assuming it's doing something to my photos....



Any thoughts?

MacBook Pro, Mac OS X (10.7)

Posted on Sep 21, 2016 7:38 AM

Reply
Question marked as Best reply

Posted on Jul 12, 2017 9:07 AM

Your recollection is flawed. Excerpted from Faces overview:


"When you open iPhoto ’11, iPhoto automatically scans your photo library and groups likely matches."


Nevertheless, if you don't like Photos, then don't use it. There are many other photo-organizing apps from which to choose.

85 replies

Jul 12, 2017 8:58 AM in response to John Galt

This issue is not whether or not Face Recognition is an insignificant feature of Photo or not nor is it whether Face Recognition was incorporated in iPhoto years ago. My recollection is that in iPhoto you could choose to have Face Recognition run or not; however, in Photo you don’t have that choice and it does hog a lot of CPU when it runs. Also, I don’t care to use that feature at all, I ONLY use photo to sync my photos to my iPhones and iPADs.


When I am processing my photos my iMAC gets very sluggish and I have to go to terminal mode to disable photoanalysisd each time and it DOES restart itself even if I do not launch Photo.


So, in my humble opinion, Apple should give us an option to turn off photoanalysisd if we don’t want it running or don’t want to use Face Recognition.

Jul 12, 2017 9:21 AM in response to John Galt

John, I agree iPhoto did automatically start to scan for faces; however, I was able to stop the process and it DID NOT start again until I restarted iPhoto. I AM NOT using photo for “photo-organizing”, I use other apps for that, I DO however use it to sync my photos because in the latest iterations of iTunes, iOS I can not sync from my external HD where all my photos are located, the sync process does not work like it use to and I have not changed anything about where I keep my photos or how I organize them. The issue, as others have reported, started with the latest round of iTunes and iOS, etc.


The only way I have to sync my photos to my iDevices is through photo and iTunes, I am a photographer by trade and I need my photos updated and current and in the organization style I have been using for years. The only way I found was to use Photo, which until now, I have never used, it is not a very robust photo organizer or editor.

Jul 26, 2017 1:57 PM in response to WestonJM

Yes, I have let photoanalysisd run, I have not gone into terminal to stop the process ( really doesn’t make any difference, it restarts itself even when photos is not running or started), I currently have 1076 faces that have not been identified and it is growing, it was 950 two days ago, so seeing faces doesn’t mean photoanalysisd is done....

Aug 2, 2017 10:45 PM in response to DonFromCanada

launchctl unload -w /System/Library/LaunchAgents/com.apple.photoanalysisd.plist



The new system protection will not allow that command to work. Here is what I did to kill that CPU hog.



1. Run from another system disk

2. Find /System/Library/LaunchAgents/com.apple.photoanalysisd.plist on the system disk with the problem

3. Drag that file to another folder, such as the desktop

4. Restart from normal system disk



5. To restore, reverse the procedure by putting file back where it was

Sep 17, 2017 9:41 PM in response to DonFromCanada

On my MBP I have a second account that has never used Photos. The photoanalysisd process seemed to be running at full CPU indefinitely, possibly looking to process photos that will never be found. To fix it, I ran Photos. It treated me as a new user. I imported a simple jpg file. The "People" screen said there was 1 photo to analyze. Exit Photos, re-launch, and the problem goes away. Not sure if this is a permanent solution, but it seems to work.

Dec 28, 2017 11:25 AM in response to John Galt

I have 871 photos and after 2 weeks photoanalysis is alsways running and taking large amounts of cpu space. Yes, i can open Photos and it does help for a little while, but then comes back when i minimize.


Please, please what can be done to stop photoanlysisd?


Appear that it is never done with 871 photos? when i go to bed, it appears to be running at 50%-98% of cpu resource. probably goes all night every night since i upgraded OS.

Jan 30, 2018 12:04 PM in response to DonFromCanada

The process took 6 days, and eventually stopped for the most part, once it finished indexing and processing the photos. However, if you add any photos or pictures it starts up again and runs for awhile. The process only ran when no other process needed the CPUs attention. It is too bad, having gone through all sorts of version of iPhoto over the years, I'm ready to switch to something else. Some of my photos are also have been turned into thumbnail size and mixed-up with the rest of the photos.


All in all, not something one would have expected from Apple.

Mar 22, 2018 12:21 PM in response to DonFromCanada

I have only a dozen or so photos in my photo 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 photoanalysis deamon, and instantly had both CPUs go from 100% to around 5%.

photoanalysisd taking large amounts of cpu

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.