Submitted by Bill St. Clair on Sun, 03 Apr 2016 15:26:31 GMT
Since updating to 10.11.4 on my 2011 iMac, my machine often beachballs on wake from sleep. Sometimes it eventually stops beachballing, so that I can enter my password, but often not. I have held the power button for 8 seconds on a few occasions, to power down. Restarting takes a long time, since I work with a lot of open applications.
Today, I discovered that if I SSH into the Mac from my iPhone (I use the "Serverauditor" app for that), and kill the "
distnoted" process, the beachballing stops immediately. I did that as follows:
$ ps aux | grep distnoted _spotlight 1119 0.0 0.0 2470808 1968 ?? S Thu08PM 0:00.24 /usr/sbin/distnoted agent billstclair 5057 0.0 0.0 2434840 680 s008 S+ 11:07AM 0:00.00 grep distnoted billstclair 5058 0.0 0.0 2470808 1284 ?? S 11:07AM 0:00.01 /usr/sbin/distnoted agent $ kill -kill 5058
Note that I chose the Process ID (PID) for the
/usr/sbin/distnoted process for my User ID (billstclair).
I haven't tried it yet, but I think this will work just as well, and doesn't require you to choose and type a PID:
$ killall -e -kill distnoted
Of course, this will only work if you enable "Remote Login" in System Preferences/Sharing, and have an SSH client on another computer in your network.