Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can the launchd-shutdown.log tell why a Mac is hanging at shutdown?

Hi,


I was wondering if the launchd-shutdown.log can tell a developer the reason a Mac is hanging at shutdown. I hva bee having an itermittent hanged shutdown issue since installing Mac OS X Lion and there is no indicator on why this is happening.


Thanks for your time and assistance!

2.53GHz Core i5 MacBook Pro 15, Mac OS X (10.7.2), 500GB HD @7200, 4GB 1067MHz DDR3 RAM, Intel HD + Nvidia 330m 256

Posted on Oct 31, 2011 6:54 PM

Reply
Question marked as Best reply

Posted on Oct 31, 2011 9:21 PM

maybe. open it up and match the string 'exited', and look for strings that say 'Exited x.xxxxxx seconds after the first signal was sent'.


You might also check the hangreporter logs, though you'll need to be in an admin account for that.

5 replies

Nov 1, 2011 9:24 AM in response to twtwtw


twtwtw wrote:


maybe. open it up and match the string 'exited', and look for strings that say 'Exited x.xxxxxx seconds after the first signal was sent'.


You might also check the hangreporter logs, though you'll need to be in an admin account for that.


Thanks for the response.


I found something interesting, there are some strings that says the followning:

Exited while shutdown in progress. Processes remaining: 40/1

120061

What does the entry above mean?


Most of the shutdown log says the "Exited x.xxxxxx seconds after the first signal was sent" string.


I have another question are those strings related to the process that could be hanging the computer?


I will take another look later tonight.

Nov 1, 2011 9:48 PM in response to vea1083

there's no need for that: what you're looking for is an 'x.xxxxxxx seconds' where the number x is large. most of the entries should be less than a second for exit time. if you see something that's significantly greater than 1 second that will likely be your hanging process.


the other line seems to be just a countdown of processes that launchd is terminating. I'm not sure what the 120061 number is (could be ticks since shutdown began?).

Nov 11, 2011 12:55 PM in response to twtwtw

I have sent the logs to Apple Developer and I am still waiting on their findings, however, the curious thing is that everytime there is a hanging shutdown issue the dock process makes a lot of notes in the system.log. Who knows the dock now controls Misson Control and Spaces. I have to say I am not impressed with Lion so far. It has made my MacBook Pro a real headache... Do you know how it feels to use a computer with the sense is going to screw up any second?... Not Nice...😟

Can the launchd-shutdown.log tell why a Mac is hanging at shutdown?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.