Possible reason for long delay before sleep

Aug 05, '10 07:30:00AM

Contributed by: octavius

A user came to me the other day with a Mac mini. They weren't having any problems but they noticed that normally, clicking on 'Sleep' from the Apple menu took just a few seconds or so but recently, was taking up to thirty seconds or longer.

Naturally, I looked at their Energy Saver settings; runaway processes in Activity Monitor, etc. to find a cause for the behavior but nothing seemed out of the norm.

I ran Terminal and input pmset -g pslog (to view the Power Manager log in real time) and found that their were lots of slow responses. However, the one that I noticed right away was the printer/fax timeout. I opened up the user's printer queue and sure enough, three documents waiting to be printed even though the printer wasn't connected in days. Cleared them out, selected 'Sleep' again and within 1-2 seconds the machine was sleeping.

[crarko adds: I haven't tested this one. We've mentioned useful applications of pmset before; here's yet another.]

Comments (6)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20100804092436766