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


Click here to return to the '10.8: A fix for slow shutdown times' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.8: A fix for slow shutdown times
Authored by: hughescr on Apr 08, '13 05:50:58PM
Digging around in Console.app, I found com.apple.launchd logs, including launchd-shutdown.system.log which has some interesting lines in it like:

20008301 com.apple.launchd                1        com.apple.launchd        1         System: Userspace shutdown finished at: Mon Apr  8 17:36:57 2013
20008307 com.apple.launchd                1        com.apple.launchd        1         System: Userspace shutdown took approximately 20 seconds.
and a bit before that:

20008122 com.apple.launchd                1        com.apple.coreservices.appleevents 96        Dispatching kevent callback.
20008125 com.apple.launchd                1        com.apple.coreservices.appleevents 96        EVFILT_PROC event for job.
20008127 com.apple.launchd                1        com.apple.coreservices.appleevents 96        Reaping
20008150 com.apple.launchd                1        com.apple.coreservices.appleevents 96        Exited 20.001060 seconds after the first signal was sent
20008157 com.apple.launchd                1        com.apple.coreservices.appleevents 0         Exited while shutdown in progress. Processes remaining: 0/1
20008170 com.apple.launchd                1        com.apple.coreservices.appleevents 0         Job was last to exit during shutdown of: System.
20008173 com.apple.launchd                1        com.apple.coreservices.appleevents 0         Job is useless. Removing.
20008176 com.apple.launchd                1        com.apple.coreservices.appleevents 0         Closing receive right for com.apple.coreservices.appleevents
20008183 com.apple.launchd                1        com.apple.coreservices.appleevents 0         Mach service deleted: com.apple.coreservices.appleevents
20008188 com.apple.launchd                1        com.apple.coreservices.appleevents 0         Removed
I'll dig around there some more and see if I can figure out what exactly it is that's getting stuck for 20 seconds before timing out and allowing shutdown to proceed...

[ Reply to This | # ]
10.8: A fix for slow shutdown times
Authored by: hughescr on Apr 08, '13 05:59:07PM
Some googling of messages in the launchd shutdown log like "Exit timeout elapsed (20 seconds). Killing" led me to this thread which seems to be on point.

[ Reply to This | # ]