Slow to shut down

Macintosh software/hardware discussion and troubleshooting

Moderator: James Steele

Post Reply
gavspen
Posts: 736
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: NYC

Slow to shut down

Post by gavspen »

Hi All,

Upgraded to Mavericks a little while ago and now my computer sticks on the grey screen for much longer than it used to while shutting down (35 secs or so). Occasionally I need to press the startup button to force it to shut down.

Similarly, on startup, a few times it has gotten stuck on the grey screen (it usually starts up quickly though), and had to be manually shut down and restarted. It's never failed to start up the second time, but it's a little disconcerting, just the same.

Any idea why this might be happening?

Thanks.
Mac mini M1, 13.5.1, 16gigs RAM, 828 mk3 Hybrid, DP 11.23, Various VIs
User avatar
HCMarkus
Posts: 9712
Joined: Tue Jan 10, 2006 9:01 am
Primary DAW OS: MacOS
Location: Rancho Bohemia, California
Contact:

Re: Slow to shut down

Post by HCMarkus »

I have had USB issue give rise to long startup times and failure to startup. Fixed by getting new powered USB hub. Tested by simply disconnecting most USB devices. Might be worth a try.
dix
Posts: 2986
Joined: Fri Oct 15, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Francisco
Contact:

Re: Slow to shut down

Post by dix »

I recall having to toggle FW devices on occasion, when the gray screen would hang-on-shutdown to complete shutdown.
14-inch MBP M1 Max (2021), 13.6.x, 64GB RAM, UAD Quad Tb Satellite, 4 displays ::: 2009 4,1 > 5,1 MacPro 12-core 3.33 ghz , 10.14.x, 96GB RAM, GeForce GTX 770 , NewerTech eSATA/USB3 PCIe Host Adapter, UAD-2 Quad, ::: 15-inch MBP (2015) 10.14.x, 16GB RAM ::: Lynx Aurora (n) USB ::: DP (latest version), Vienna Ensemble Pro danwool.com
User avatar
mhschmieder
Posts: 11282
Joined: Wed Jul 06, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Annandale VA

Re: Slow to shut down

Post by mhschmieder »

Yes, what they both said. This often indicates a hang-up of two sides waiting for the other to hand-shake, which can be cleared up in many cases by resetting connections of attached devices.

It also can be due to an external drive having gone to sleep. Not always will they wake up; especially if the OS has decided it needs to shut down. It seems the two signals compete.
iMac 27" 2017 Quad-Core Intel i5 (3.8 GHz, 64 GB), OSX 13.6.1, MOTU DP 11.31, iZotope RX 10
RME Babyface Pro FS, Radial JDV Mk5, Hammond XK-4, Moog Voyager

Eugenio Upright, 60th Anniversary P-Bass, USA Geddy Lee J-Bass, Yamaha BBP35
Select Strat, 70th Anniversary Esquire, Johhny Marr Jaguar, 57 LP, Danelectro 12
Eastman T486RB, T64/V, Ibanez PM2, D'angelico Deluxe SS Bari, EXL1
Guild Bari, 1512 12-string, M20, Martin OM28VTS, Larivee 0040MH
User avatar
mikehalloran
Posts: 15132
Joined: Sun Jan 25, 2009 5:08 pm
Primary DAW OS: MacOS
Location: Sillie Con Valley

Re: Slow to shut down

Post by mikehalloran »

mhschmieder wrote:Yes, what they both said. This often indicates a hang-up of two sides waiting for the other to hand-shake, which can be cleared up in many cases by resetting connections of attached devices.

It also can be due to an external drive having gone to sleep. Not always will they wake up; especially if the OS has decided it needs to shut down. It seems the two signals compete.
FireWire past OS 10.5, that's the first thing I look for.

Not letting a Mac go to sleep when a FW device is being used and disabling App Nap globally generally help. App Nap is designed to conserve battery power in portables and has no useful purpose on a desktop Mac.

Disable App Nap in Mac OS X

Copy the following command and paste into Terminal.app then hit <Enter> or <Return> key:

defaults write NSGlobalDomain NSAppSleepDisabled -bool YES

Type your Admin password when prompted then <Enter> or <Return>

Reboot or close and restart applications


This disables App Nap globally. Running Get Info on individual apps will not show a change. Once apps have been relaunched or the Mac restarted, you can confirm that App Nap is disabled by backgrounding a couple of processes or hiding inactive applications for 30 minutes or so, and then checking the “Energy” panel in Activity Monitor. Look under the “App Nap” sort section and everything will be listed as “No” including the app that was backgrounded.
DP 11.31; 828mkII FW, micro lite, M4, MTP/AV USB Firmware 2.0.1
2023 Mac Studio M2 8TB, 192GB RAM, OS Sonoma 14.4, USB4 8TB external, M-Audio AIR 192|14, Mackie ProFxv3 6/10/12; 2012 MBPs Catalina, Mojave
IK-NI-Izotope-PSP-Garritan-Antares, LogicPro X, Finale 27.4, Dorico 5.2, Notion 6, Overture 5, TwistedWave, DSP-Q 5, SmartScore64 Pro, Toast 20 Pro
gavspen
Posts: 736
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: NYC

Re: Slow to shut down

Post by gavspen »

Tried disconnecting all periferals except keyboard and mouse and on first shut down grey screen time cut down to 20 secs. Oh, good, I thought. Tried again and it hung on the grey screen for over a minute. Never mind :-(

I will try what you suggest when I have time to figure out what it all means, Mike. What does "fire wire past 10.5" mean?

Thanks all.
Mac mini M1, 13.5.1, 16gigs RAM, 828 mk3 Hybrid, DP 11.23, Various VIs
dix
Posts: 2986
Joined: Fri Oct 15, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Francisco
Contact:

Re: Slow to shut down

Post by dix »

What does "fire wire past 10.5" mean?
Systems with OS10.5 and later are susceptible to issues with FW such as this, according to Mike.
14-inch MBP M1 Max (2021), 13.6.x, 64GB RAM, UAD Quad Tb Satellite, 4 displays ::: 2009 4,1 > 5,1 MacPro 12-core 3.33 ghz , 10.14.x, 96GB RAM, GeForce GTX 770 , NewerTech eSATA/USB3 PCIe Host Adapter, UAD-2 Quad, ::: 15-inch MBP (2015) 10.14.x, 16GB RAM ::: Lynx Aurora (n) USB ::: DP (latest version), Vienna Ensemble Pro danwool.com
gavspen
Posts: 736
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: NYC

Re: Slow to shut down

Post by gavspen »

With App Nap off shut down took 37 seconds, and then a second time, 2 1/2 minutes! Yoikes.

Any other thoughts?
Mac mini M1, 13.5.1, 16gigs RAM, 828 mk3 Hybrid, DP 11.23, Various VIs
User avatar
mikehalloran
Posts: 15132
Joined: Sun Jan 25, 2009 5:08 pm
Primary DAW OS: MacOS
Location: Sillie Con Valley

Re: Slow to shut down

Post by mikehalloran »

gavspen wrote:With App Nap off shut down took 37 seconds, and then a second time, 2 1/2 minutes! Yoikes.

Any other thoughts?
What is going on? What processes are running? How do you find out?

Open Console.app. On a Mac, everything that happens in your system shows up and is time stamped. Look to see what is hanging up. When you see something you don't know, Google is your friend.

It can be something as simple as an old piece of code that should have been sent to the Trash years ago. I've had HP print drivers from 2005, Finale 2009 Help Files and bucketloads of free/share/crapware cause problems, all identified by Console.

You will see a lot of things that fail—this is normal except when it is not.
DP 11.31; 828mkII FW, micro lite, M4, MTP/AV USB Firmware 2.0.1
2023 Mac Studio M2 8TB, 192GB RAM, OS Sonoma 14.4, USB4 8TB external, M-Audio AIR 192|14, Mackie ProFxv3 6/10/12; 2012 MBPs Catalina, Mojave
IK-NI-Izotope-PSP-Garritan-Antares, LogicPro X, Finale 27.4, Dorico 5.2, Notion 6, Overture 5, TwistedWave, DSP-Q 5, SmartScore64 Pro, Toast 20 Pro
gavspen
Posts: 736
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: NYC

Re: Slow to shut down

Post by gavspen »

Well, Ok Mike, I've taken a look at Console, but to the uninitiated...which I am... it's just a bunch of incomprehensible gobbledygook I'm afraid. I do see stuff that suggests problems, like this.....

7/22/17 10:25:24.710 PM com.apple.kextcache[539]: Warning: /Volumes/DP and other sound stuff/System/Library/Extensions: No such file or directory
7/22/17 10:25:24.710 PM com.apple.kextcache[539]: rebuilding /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext
7/22/17 10:25:24.711 PM com.apple.kextcache[540]: /Volumes/DP and other sound stuff locked; waiting for lock.
7/22/17 10:25:24.716 PM com.apple.kextcache[541]: No kernel extensions found.

(DP wasnt running when I shut it down, by the way) but no idea how to interpret it or what to do with the info. What would you google out of that stuff?
Mac mini M1, 13.5.1, 16gigs RAM, 828 mk3 Hybrid, DP 11.23, Various VIs
User avatar
mikehalloran
Posts: 15132
Joined: Sun Jan 25, 2009 5:08 pm
Primary DAW OS: MacOS
Location: Sillie Con Valley

Re: Slow to shut down

Post by mikehalloran »

See what happens when you reset your caches to default. Do a Safe Boot by shutting down and holding the Shift key on restart. When you get to your Admin screen, release the Shift Key and log in. When all your icons have finished rebuilding, shut down and Boot normally. This is normal Mac maintenance and often fixes kept cache issues. I run it once a year and after major OS upgrades.
DP 11.31; 828mkII FW, micro lite, M4, MTP/AV USB Firmware 2.0.1
2023 Mac Studio M2 8TB, 192GB RAM, OS Sonoma 14.4, USB4 8TB external, M-Audio AIR 192|14, Mackie ProFxv3 6/10/12; 2012 MBPs Catalina, Mojave
IK-NI-Izotope-PSP-Garritan-Antares, LogicPro X, Finale 27.4, Dorico 5.2, Notion 6, Overture 5, TwistedWave, DSP-Q 5, SmartScore64 Pro, Toast 20 Pro
gavspen
Posts: 736
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: NYC

Re: Slow to shut down

Post by gavspen »

Will do Mike, you're a treasure. ;-) I'll report back.

Thanks.
Mac mini M1, 13.5.1, 16gigs RAM, 828 mk3 Hybrid, DP 11.23, Various VIs
gavspen
Posts: 736
Joined: Sat Oct 16, 2004 10:01 pm
Primary DAW OS: MacOS
Location: NYC

Re: Slow to shut down

Post by gavspen »

One thing. When I upgraded to Mavericks, in order to keep my TC Electronics Powercore functioning I replaced a lot to kext files with files from earlier operating systems. (Disclaimer: I don't even know what I did, really.) Would the fix you are suggesting screw that up, perhaps?
Mac mini M1, 13.5.1, 16gigs RAM, 828 mk3 Hybrid, DP 11.23, Various VIs
Post Reply