Blogging in Lisp


Mac OS X 10.11.4 Beachball on Wake from Sleep

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.

Add comment   Edit post   Add post

Comments (1)

One problem with this fix

Submitted by Bill St. Clair on Thu, 26 May 2016 11:24:12 GMT

One problem with this "fix" is that it tends to make USB devices fall off the bus many hours later. So I lose one external USB disk drive, and my USB DAC. The disk drive I don't care about much, since I don't use it daily, and the DAC comes back when I power-cycle it. YMMV.

Also, the "hot corners" no longer work, so I have to select "Sleep" from the Apple menu, instead of just moving the mouse to the corner. No biggie.

Edit comment

Add comment   Edit post   Add post

Previous Posts:

Google Authenticator, in Your Web Browser
Another Old Friend
Firefox Discontinuing Tab Groups
Barlow's Declaration Turns Twenty
Hello Again Old Friend
Mail-in-a-Box Rocks!!
ReadErl Is Live
Audio Hijack 3
More News Feeds