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
85 replies

Jun 4, 2017 3:53 AM in response to Jayson

I had the same problem with my WIN crap. They (NOT ME!) decide what to do with my computer, like a reboot while I'm working or upload processes. Worst of all was SONY on WIN crap. You canna stop anything or purge the poor system from SONY.

Here, there WAS a law for standard technology called DIN and all our german cars had breaks and you could leave the car when ever you wanted ... I miss the old time 😉

Jun 15, 2017 2:26 PM in response to DonFromCanada

I have tried everything suggested, I have Sierra 10.12.5 and guess what photoanalysisd keeps coming back even when I DO NOT have photos running anywhere on my iMAC. So it really is a bad penny that keeps coming back. I have even unloaded it via launchctl unload -w /System/Library/LaunchAgents/com.apple.photoanalysisd.plist not sure if this will work, just tried, it; however, if you do start photos after doing this command after disabling csrutil, it does relaunch, UGH. Wish apple would give us a REAL way to UNINSTALL it, don't need it, don't want it.

Jul 6, 2017 12:04 AM in response to MichaelWal

I didn't see this happen. This customer is using a Foto's library residing on a Macmini server with 3 Mac's. When the first iMac opened the library (after being upgraded to Sierra) it starts to convert the library (Sierra is using Foto's v2.0, El Capitan is using v1.5 so all the mac's should be upgraded to Sierra to use it). After iMac1 had converted the library the problem appeared that when closing Foto's (only one Mac at a time can access it) the other Macs can't open it (message that the library was in use). I've discovered the photo analysis proces to be the cause on imac1, so I did the above to solve this. The proces didn't start anymore so I think it's save to say that the file won't be generated again. To my knowledge: if you remove a plist file from agents it's disabled completely (or some sort of protection has to prevent this, then it's another story...

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.

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

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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 Account.