photoanalysisd running for over a week now on Network Attached Storage photo library
Despite constantly disabling and killing the photoanalysisd daemon, it keeps starting up every 2 hours. I have several Photos libraries on USB and NAS disks. But only 1 is the default library. However, I am finding that photoanalysisd keeps running and analysing my external disks. Some of the disks are still being analysed over a week after the latest reboot of my iMac.
I've read articles about booting in recovery mode, unsetting the Big Sur security on the root disk and removing the photoanalysisd plist file. Is there anything less drastic, and more permanent, available? I'm assuming that with each Mac OS update that the photoanalysisd plist file will be restored and the reboot into recovery mode would need to be done again.
I'm just wondering if there is some file or db entry that photoanalysisd keeps updated that lists where the photo libraries are and if I can remove the external libraries from the list to be analysed?
iMac 21.5″, macOS 10.15