Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mcrumors David

macrumors regular
Original poster
Oct 8, 2014
188
75
I am trying to kill photoanalysis on Catalina.

This worked on the previous OS:

- remove system process via (sudo yes | rm -r /System/Library/PrivateFrameworks/PhotoAnalysis.framework/Versions/A/Support/photoanalysisd)
- install cronjob to kill the process (/1 * * * * launchctl disable gui/501/com.apple.photoanalysisd && launchctl kill -TERM gui/501/com.apple.photoanalysisd)

Now - even with SIP disabled - I cannot remove system files (what a joke) so option 1 does not work. option 2 seems to Not work anymore.

Any help?
 

Ritsuka

Cancelled
Sep 3, 2006
1,464
969
You have to mount the system volume as a read-write volume is you want to write on it.
 

Mcrumors David

macrumors regular
Original poster
Oct 8, 2014
188
75

alFR

macrumors 68030
Aug 10, 2006
2,834
1,070
It's a useless process that consumes CPU for no reason.
Well, unless you actually do want to have your photos tagged by the people in them. You know, to be able to search for photos of a particular person. I'd also bet that this process generates the data for the other new photos features in Catalina (the organisation in the All Photos tab, for example) and underpins search for other types of photo content beside people too. If you don't want any of that, fine: saying the whole thing is useless (and implying that everyone should disable it) isn't really helpful IMO.
 

Mcrumors David

macrumors regular
Original poster
Oct 8, 2014
188
75
Well, unless you actually do want to have your photos tagged by the people in them. You know, to be able to search for photos of a particular person. I'd also bet that this process generates the data for the other new photos features in Catalina (the organisation in the All Photos tab, for example) and underpins search for other types of photo content beside people too. If you don't want any of that, fine: saying the whole thing is useless (and implying that everyone should disable it) isn't really helpful IMO.

1. Whether or not I call is useless is irrelevant to the topic, which is how to disable it. I do agree that "most" users only have a few photos and hence do not care about this process running for a few hours...

Still, trying to find a solution here only ...
 

Mcrumors David

macrumors regular
Original poster
Oct 8, 2014
188
75

Cool. Removed the files as previously possible in Mojave thanks
 

Alwis

macrumors 6502
Jan 12, 2017
439
506
I am really tired of this process. The last 6 days it wrote more than 500GB to my SSD, that is more than the space occupied by all of my images in various Photos Libraries.

Any help on how to disable this process, prefer in a library basis, would be very mich appreciated!
 

bogdanw

macrumors 603
Mar 10, 2009
6,099
3,011
I haven't tested this in Catalina, but it works in Big Sur:
Code:
launchctl bootout gui/501/com.apple.photoanalysisd
launchctl disable gui/501/com.apple.photoanalysisd
to re-enable it
Code:
launchctl enable gui/501/com.apple.photoanalysisd
launchctl bootstrap gui/501/com.apple.photoanalysisd
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.