Thursday, August 5, 2010

Possible reason for long delay before sleep

A handy article for figuring out what might be causing problems in your Mac not going to sleep....

 

Possible reason for long delay before sleep: "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' ...

Add to diggAdd to RedditAdd to SlashdotEmail this ArticleAdd to StumbleUpon
"

(Via MacOSXHints.com.)

No comments: