Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I don't want SIP disabled, so I open a terminal window and type this:
Code:
while true; do killall mediaanalysisd; sleep 600; done
;)
Find a more simple way to ‘SUSPEND’ mediaanalysisd thread:
run Active Monitor, select mediaanalysisd, choose SEND signal SIGSTOP
done
 
Find a more simple way to ‘SUSPEND’ mediaanalysisd thread:
run Active Monitor, select mediaanalysisd, choose SEND signal SIGSTOP
done
Here is an even simpler way, AppleScript saved as an app that sends SIGSTOP (17) to mediaanalysisd
AppleScript:
do shell script "pgrep -o -x mediaanalysisd | awk '{print $1}' | xargs kill -17"

You can add multiple processes in the same AppleScript app, just replace mediaanalysisd with the name of the process.

Save a script as an app in Script Editor on Mac
https://support.apple.com/guide/script-editor/save-a-script-as-an-app-scpedt1072/mac
 
  • Like
Reactions: VanVanWang
Here is an even simpler way, AppleScript saved as an app that sends SIGSTOP (17) to mediaanalysisd
AppleScript:
do shell script "pgrep -o -x mediaanalysisd | awk '{print $1}' | xargs kill -17"

You can add multiple processes in the same AppleScript app, just replace mediaanalysisd with the name of the process.

Save a script as an app in Script Editor on Mac
https://support.apple.com/guide/script-editor/save-a-script-as-an-app-scpedt1072/mac

I found after the first 6-7 days, mediaanalysisd will be auto re-enabled by system,so here is the new script, send SIGSTOP every 3600 mins:

while true; do date +%H:%M:%S; pgrep -o -x mediaanalysisd | awk '{print }' | xargs kill -17; sleep 3600; done
 
A word of caution about using SIGSTOP, it might cause the freeze of the app that started or wants to start the process that was suspended with SIGSTOP.

My observation comes from using SIGSTOP on com.apple.geod started by Safari. If I use SIGSTOP on com.apple.geod, close Safari and try to open it again, Safari would not respond.
 
Just make the folder locked, this is what I did on my new Mac now again and the folder is always empty.

Although I have Apple AI enabled and this new feature where you can find photos by description doesn’t work, but maybe that’s because of a different reason.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.