Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Possible reason for long delay before sleep System
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.]
    •    
  • Currently 2.39 / 5
  You rated: 2 / 5 (23 votes cast)
 
[13,730 views]  

Possible reason for long delay before sleep | 6 comments | Create New Account
Click here to return to the 'Possible reason for long delay before sleep' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Possible reason for long delay before sleep
Authored by: c8h10n4o2 on Aug 05, '10 12:53:09PM

I've noticed long delays for my MacBook Pro as well. But after checking the console logs I found that it takes around 76 seconds for the hibernate file to get written. Since I usually have Parallels running at the same time, that makes sense since it is updating over 5 GB of RAM memory data.

If you run Parallels as well or other high memory apps, that may also be a reason for slow sleep.



[ Reply to This | # ]
Possible reason for long delay before sleep
Authored by: bobskiba on Aug 06, '10 03:38:27AM

Yes! My Macbook's been taking over a minute to go into sleep mode for the past few weeks. Checking the printer utility showed a secondary printer I use at a job still in queue. I deleted the job, an my Macbook goes to sleep in 2 seconds now. Thanks!!



[ Reply to This | # ]
Possible reason for long delay before sleep
Authored by: octavius on Aug 06, '10 01:47:41PM

glad to help! i knew others would find this useful!



[ Reply to This | # ]
Possible reason for long delay before sleep
Authored by: skepticalvince on Feb 07, '11 06:13:33AM

Thanks!!! This solved my "sleeping" problem too.



[ Reply to This | # ]
Possible reason for long delay before sleep
Authored by: danageis on Mar 27, '12 09:31:54PM

Wow thanks a million man. My hackintosh was taking 40+ seconds to sleep and I hadn't installed anything new in days, just like you say I had a file on queue!



[ Reply to This | # ]
Possible reason for long delay before sleep
Authored by: refriel on Dec 15, '12 04:27:14PM

I know this comment comes years after the original problem but it solved my problem too, so thanks very much.
I looked in print/fax preferences and, sure enough, there was a pending print job in a printer that was not the default.
Clearing that job fixed the problem.
Rich



[ Reply to This | # ]