Got a tip for us? Let us know
|
|
#126 |
|
|
0
|
|
|
#127 |
|
only appleeventsd here
|
|
|
|
0
|
|
|
#128 |
|
Not just appleeventsd
I also had other services hanging on shutdown, but they were due to badly designed third-party drivers: I could track them using the same method (looking at the launchd-shutdown log) and I could solve them by just avoiding to load the associated kernel extension. I am saying this to highlight that appleventsd may still not be the sole cause, even though at present it seems the more likely and frequently observed. Digging further into the problem For some time I had some evidence that the AppleIDAuthAgent (com.apple.coreservices.appleid.authentication) was also hanging, but after further tests only appleeventsd seemed to actually slow down my poweroff sequence. However, during those tests on the AppleIDAuthAgent I could observe the origin of the problem: the agent just stopped handling the SIGTERM signal. The documentation (man page) of launchd.plist explains that, when a service is to be shut down, launchd first attempts to gracefully stop it by sending a SIGTERM: if the process does not quit spontaneously within the timeout, then launchd abruptly terminates it with a SIGKILL. So, what I did was to invoke the AppleIDAuthAgent "manually" (i.e., not through launchd) and run it through dtruss, a utility that tracks the system calls issued by a process. When I attempted to send a SIGTERM to that process nothing at all happened: no reaction, no system calls printed, no spontaneous exit. SIGQUIT and SIGHUP were instead processed successfully. And what was most strange is that this did not happen consistently, so it could not be ascribed to an overlook by the programmers that "forgot" to process the SIGTERM signal (which, also intuitively, looks very very unlikely). I guess something similar could be happening with appleeventsd, but the true point is how to determine what makes it ignore the SIGTERM. Reading reports like this and this makes me prone to thinking it's really a bug, although I could not (yet) rule out potential third-party causes on my machine. BTW, I am not using iCloud. BTW again, when you use Console remember to look at the launchd-shutdown.log: the other file suffixed with a 1 is usually an older version of the same file that refers to the penultimate (i.e., not latest) shutdown sequence. |
|
|
|
0
|
|
|
#129 |
|
Removing google chrome has definitely improved my shut down speed.
|
|
|
|
0
|
|
|
#130 | ||
|
Quote:
Quote:
__________________
|
|||
|
|
0
|
|
|
#131 |
|
Thanks for all the above. Will give this a try.
__________________
{2014 27" r-imac-4.0i7-295x-32gb ram-1TBSSD+External TB enclosure>Samsung840evo ssd + Segate Enterprise 5TB-UAD Apollo/Marantz/Amphion/Bowers&Wilkins Sound-Nektar P1 61} {ipads}{iphones}{LG G3} |
|
|
|
0
|
|
|
#132 |
|
I am a 67yr tech impaired old fart but I think I'm having the same problem with my 2012 MacBook Air. I googled the issue and eventually got to you all and registered so that I could ask a question. I've read the entire thread and have the same kinds of error messages discussed. My question is simply why does it shut down in 2secs 75% of the time but the other 25% takes 22 secs? It's like a guessing game as to how long it will take to shut down. It's frustrating to have to get out my stopwatch each time I shut down to satisfy myself that all is good (or bad). Quite a few posts suggest that the "shut-down slowly" issue is experienced on a consistent basis.
Regards- |
|
|
|
0
|
|
|
#133 | ||
|
Quote:
Quote:
|
|||
|
|
0
|
|
|
#134 | |
|
Quote:
__________________
|
||
|
|
0
|
|
|
#135 |
|
one more tracked down
|
|
|
|
0
|
|
|
#136 |
|
Nov 2 com.apple.launchd[1] (com.apple.coreservices.appleid.authentication[118]): Exit timeout elapsed (20 seconds). Killing
Mine above....... |
|
|
|
0
|
|
|
#137 |
|
Has anyone tried 10.8.3 and seen if it fixes the issue?
__________________
|
|
|
|
0
|
|
|
#138 |
|
i have 3 items slowing me down
Code:
20006916 com.apple.launchd 1 com.apple.iCloudHelper 351 Exit timeout elapsed (20 seconds). Killing 20010984 com.apple.launchd 1 com.apple.suhelperd 425 Exit timeout elapsed (20 seconds). Killing 20011065 com.apple.launchd 1 com.apple.securityd 15 Exit timeout elapsed (20 seconds). Killing ---------- its not out for developers yet.
__________________
13in 2012 rMBP: Core i5, 8GB RAM, 256GB SSD; Nexus 7 3G; Nexus 4 16GB |
|
|
|
0
|
|
|
#139 |
|
Posted a bugreport on https://bugreport.apple.com. Apple replied immediately asking to attach system report file. It looks like Apple is working hard on this problem. I can also see that they marked my ticked as a duplicate to another ticket.
As it was already noted here, I would suggest everybody who has this problem file a bugreport at Apple. The more data they have the sooner they can fix it. |
|
|
|
0
|
|
|
#140 |
|
yep i get this problem too.
reminds me of my days with microsoft windows: shutdown, prepare coffee, feed the dog, call a friend and then come back to close the lid. |
|
|
|
1
|
|
|
#141 |
|
I'm not sure what I'm supposed to be looking for in Console so below is everything it said at the time of shut down. If someone can interpret this for me it would be great!
11/12/12 2:24:07.127 PM WindowServer[71]: dict count after removing entry for window 0x1d is 0 11/12/12 2:24:07.137 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.137 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.138 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.138 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.138 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.143 PM com.apple.launchd[1]: (com.apple.ShareKitHelper[570]) Exited: Killed: 9 11/12/12 2:24:07.144 PM com.apple.launchd.peruser.501[121]: ([0x0-0x10010].com.apple.inputmethod.ironwood[173]) Exited: Killed: 9 11/12/12 2:24:07.152 PM coreservicesd[31]: SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=159 11/12/12 2:24:07.156 PM com.apple.launchd.peruser.501[121]: ([0x0-0xb00b].com.apple.iTunesHelper[164]) Exited with code: 1 11/12/12 2:24:07.155 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.155 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.156 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.156 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.156 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.157 PM com.apple.launchd.peruser.501[121]: ([0x0-0x22022].com.apple.AppleSpell[221]) Exited: Terminated: 15 11/12/12 2:24:07.157 PM com.apple.launchd.peruser.501[121]: (com.apple.mdworker.shared.04000000-0000-0000-0000-000000000000[985]) Exited: Killed: 9 11/12/12 2:24:07.159 PM coreservicesd[31]: SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=167 11/12/12 2:24:07.159 PM coreservicesd[31]: SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=767 11/12/12 2:24:07.159 PM coreservicesd[31]: SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=140 11/12/12 2:24:07.187 PM loginwindow[53]: DEAD_PROCESS: 53 console 11/12/12 2:24:07.245 PM airportd[1038]: _doAutoJoin: Already associated to “Airport Express - LAJSR”. Bailing on auto-join. 11/12/12 2:24:07.407 PM coreservicesd[31]: SendFlattenedData, got error #268435459 (ipc/send) invalid destination port from ::mach_msg(), sending notification kLSNotifyApplicationDeath to notificationID=129 11/12/12 2:24:07.409 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.409 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.410 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.410 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.410 PM WindowServer[71]: CGXGetConnectionProperty: Invalid connection 45571 11/12/12 2:24:07.430 PM shutdown[1039]: halt by Rich: 11/12/12 2:24:07.430 PM shutdown[1039]: SHUTDOWN_TIME: 1352748247 430131 |
|
|
|
0
|
|
|
#142 |
|
Oddly enough, there's nothing in that log suggesting any of the culprits identified in this thread is causing problems for you.
__________________
iMac Intel (Rev H, 27"), 1TB HDD, 16GB RAM, 10.8.4 |
|
|
|
0
|
|
|
#143 | |
|
Quote:
__________________
“I have not seen proven proof that [climate change] is entirely man-made.” - Joni Ernst, (R) Iowa
And the Republican party isn't the party of stupid? Okay. |
||
|
|
0
|
|
|
#144 |
|
Hmmm. Well I am certainly experiencing the slow shut down time and also the fact that every once in awhile it shuts down quickly so I would think there must be something else going on that's more innate to the the OS?
|
|
|
|
0
|
|
|
#145 |
|
It's pretty bad when a SSD equipped MBP takes 30 seconds to shut down. My kid's machine running Snow Leopard on a 5400rpm drive does it in 3.
|
|
|
|
2
|
|
|
#146 | |
|
Quote:
Thanks so much! |
||
|
|
0
|
|
|
#147 |
|
Tried the above suggestion using the terminal.....
Unknown what happened but as soon as I got to the "Password" entry part, I could not enter the password at all. None of the keyboard keys worked. Any suggestions ? |
|
|
|
0
|
|
|
#148 |
|
That's normal. The Terminal does NOT echo your input at all for security reasons. Trust me, though - it's still receiving your keystrokes.
__________________
iMac Intel (Rev H, 27"), 1TB HDD, 16GB RAM, 10.8.4 |
|
|
|
1
|
|
|
#149 |
|
|
0
|
|
|
#150 | |
|
Quote:
__________________
my pc died and i hardly noticed, go figure Last edited by rhoydotp; Nov 14, 2012 at 12:50 PM. Reason: include "ownership" |
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Slow shutdown | PhillyDK | OS X Mavericks (10.9) | 41 | Nov 1, 2013 09:25 AM |
| 10.8.3 (and 10.8.4b?) Still slow shutdown | Krazy Bill | OS X 10.8 Mountain Lion | 116 | Jul 11, 2013 09:06 PM |
| MBA...Slow to Start...Slow to Shutdown... | JoelBC | OS X 10.8 Mountain Lion | 1 | Feb 4, 2013 11:17 PM |
| ML slow shutdown | RJCP | OS X 10.8 Mountain Lion | 1 | Jan 17, 2013 08:49 AM |
| Slow shutdown? Try this.. | SchuettS | MacBook Pro | 0 | Dec 23, 2012 01:11 PM |
|
All times are GMT -5. The time now is 09:17 AM.







Linear Mode
