Keychain analytics database slamming my boot drive
I recently moved my boot drive on my iMac (Retina 5k, 27" late 2015) running Monterey from the internal fusion drive to an external SSD due to issues with the internal drive. Because the SSD is right in front of me now, I see the drive access light CONSTANTLY flashing. Not sometimes, or occasionally, but constantly going off.
Determined to figure out what's doing this, I used fs_usage in a terminal window and narrowed down like this:
sudo fs_usage -w | grep disk6s1 | egrep -v -e "(kernel_task|storagekitd)
I see a CONSTANT stream of events being written to what appears to be a the SQLite database associated to the Keychain replication. Here's what one looks like:
16:26:06.990846 WrData[A] D=0x04958246 B=0x1000 /dev/disk6s1 /System/Volumes/Data/Users/XXXXXXX/Library/Keychains/XXXXXXXXXX/Analytics/ckks_analytics.db 0.000153 W secd.69278
It never, ever stops. Is there any way to throttle this behavior? I don't want to turn off keychain replication, but this appears to be analytics for the keychain.
Thanks
Andy
iMac 27″, macOS 12.7