Computer insomnia. If your Macs fail to go to sleep...

Macintosh software/hardware discussion and troubleshooting

Moderator: James Steele

Post Reply
User avatar
FMiguelez
Posts: 8266
Joined: Sun Oct 24, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Body: Narco-México Soul/Heart: NYC

Computer insomnia. If your Macs fail to go to sleep...

Post by FMiguelez »

This was driving me crazy. 2 of my computers refused to go into Sleep mode. They would turn off the screen, but I could hear and feel the spinners madly working, sometimes harder than when actually working the computer.

This is the solution I found that cured the problem for both computers>
- Go to System Preferences and click on Printers. Open the printing cue for each printer you see there and kill the undone printing processes you will most likely find.
That's it! Done!

Now, when I put them to sleep, they really rest in peace... no more fan or HD noise. Yeeee. I think my computers hadn't slept for months now!

Doing the other typical Energy/bluetooth/network preferences didn't seem to make any difference. It was that little thing all along.

I discovered this when nosing around Activity Monitor. You can add a tab to show the "Prevents sleeping" property which displays the processes that won't let it sleep. Sure enough, I discovered 2 such processes, one of them called "cupsd", which Google told me it was related to undone printing cues.

Just some info in case your computers behave like party animals late at night every day.
Mac Mini Server i7 2.66 GHs/16 GB RAM / OSX 10.14 / DP 9.52
Tascam DM-24, MOTU Track 16, all Spectrasonics' stuff,
Vienna Instruments SUPER PACKAGE, Waves Mercury, slaved iMac and Mac Minis running VEP 7, etc.

---------------------------

"In physics the truth is rarely perfectly clear, and that is certainly universally the case in human affairs. Hence, what is not surrounded by uncertainty cannot be the truth." ― Richard Feynman
User avatar
bayswater
Posts: 11971
Joined: Fri Feb 16, 2007 9:06 pm
Primary DAW OS: MacOS
Location: Vancouver

Re: Computer insomnia. If your Macs fail to go to sleep...

Post by bayswater »

Good sleuthing. The IT manuals say that printers don't work half the time, and the other half they're a PITA.
2018 Mini i7 32G 10.14.6, DP 11.3, Mixbus 9, Logic 10.5, Scarlett 18i8
Tritonemusic
Posts: 2731
Joined: Fri Oct 15, 2004 10:01 pm
Primary DAW OS: MacOS

Re: Computer insomnia. If your Macs fail to go to sleep...

Post by Tritonemusic »

You may have just opened a can of worms for me, Fernando.

I decided to look at my "Active Processes" in Activity Monitor and under the Memory tab, I noticed com.spitfireaudio.LibraryManagerHelper running right after a fresh startup. I don't like that it's running when I haven't even opened DP yet. However, this may be completely normal. I really don't know. It just seems unnecessary to be running if I don't need it. What do you think?

Image

P.S. If I "Quit Process", it comes back in about 2 seconds.
DP 10.13, OS 13.6, iMac Pro (2017) 3.2 GHz 8-Core, 32 GB RAM, MOTU M4
User avatar
FMiguelez
Posts: 8266
Joined: Sun Oct 24, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Body: Narco-México Soul/Heart: NYC

Re: Computer insomnia. If your Macs fail to go to sleep...

Post by FMiguelez »

Tritonemusic wrote: Sun Sep 19, 2021 11:51 am You may have just opened a can of worms for me, Fernando.

I decided to look at my "Active Processes" in Activity Monitor and under the Memory tab, I noticed com.spitfireaudio.LibraryManagerHelper running right after a fresh startup. I don't like that it's running when I haven't even opened DP yet. However, this may be completely normal. I really don't know. It just seems unnecessary to be running if I don't need it. What do you think?

Image

P.S. If I "Quit Process", it comes back in about 2 seconds.
Is anything related to Spitfire part of the Log In items in OS's preferences? If so, you could probably kill it there.
It looks like it's taking practically no CPU power at all. I would just let it be (you'd probably have to quit it upon each restart anyway).

I often see similar "helpers" for lots of apps, like Photos, Chrome renderer, etc, so it's probably normal to have them idling around 'til needed. But this knowledge is way out of my league.
One would have to Google each of those little terms/processes to make sure no necessary ops are killed, and it's probably not worth it.

The ones that some times I must kill because they really grab the old iMac are the Avast antivirus helpers that always seem to kick in when you least want them. Those can really slow the computer down to a crawl because they read/write to disk GBs worth of scheisse.
Mac Mini Server i7 2.66 GHs/16 GB RAM / OSX 10.14 / DP 9.52
Tascam DM-24, MOTU Track 16, all Spectrasonics' stuff,
Vienna Instruments SUPER PACKAGE, Waves Mercury, slaved iMac and Mac Minis running VEP 7, etc.

---------------------------

"In physics the truth is rarely perfectly clear, and that is certainly universally the case in human affairs. Hence, what is not surrounded by uncertainty cannot be the truth." ― Richard Feynman
User avatar
cuttime
Posts: 4305
Joined: Sun May 15, 2005 10:01 pm
Primary DAW OS: MacOS

Re: Computer insomnia. If your Macs fail to go to sleep...

Post by cuttime »

Tritonemusic wrote: Sun Sep 19, 2021 11:51 am You may have just opened a can of worms for me, Fernando.

I decided to look at my "Active Processes" in Activity Monitor and under the Memory tab, I noticed com.spitfireaudio.LibraryManagerHelper running right after a fresh startup. I don't like that it's running when I haven't even opened DP yet. However, this may be completely normal. I really don't know. It just seems unnecessary to be running if I don't need it. What do you think?

Image

P.S. If I "Quit Process", it comes back in about 2 seconds.
Yep, I noticed this a long time ago and Spitfire denied knowing anything about it. I just delete it from the folder (requires a PW), but if you install or update a Spitfire library it comes right back. Native Instruments had a similar "helper" tool that I just deleted, too. Arturia has a helper tool that is only active on startup and then shuts down after about 30 seconds. Pulse Downloader, ditto. I really don't know what these gremlins actually do. You'll find the Spitfire one at Mac HD>Library>LaunchDaemons...PrivilegedHelperTools. :smash:
828x MacOS 13.6.6 M1 Studio Max 1TB 64G DP11.31
User avatar
cuttime
Posts: 4305
Joined: Sun May 15, 2005 10:01 pm
Primary DAW OS: MacOS

Re: Computer insomnia. If your Macs fail to go to sleep...

Post by cuttime »

I *suspect* that these helper tools are scripts that make sure the host application correctly locates the media library.
828x MacOS 13.6.6 M1 Studio Max 1TB 64G DP11.31
Tritonemusic
Posts: 2731
Joined: Fri Oct 15, 2004 10:01 pm
Primary DAW OS: MacOS

Re: Computer insomnia. If your Macs fail to go to sleep...

Post by Tritonemusic »

FMiguelez wrote: Sun Sep 19, 2021 12:14 pm Is anything related to Spitfire part of the Log In items in OS's preferences?
Finally got home so I just checked. Nothing there. I think you're right. I'll just leave it be. I just happened to notice it because of your post. Sorry to hijack your thread, FM. :oops:

Thanks a lot for everyone's responses.
DP 10.13, OS 13.6, iMac Pro (2017) 3.2 GHz 8-Core, 32 GB RAM, MOTU M4
Post Reply