Mac Format

Unexplaine­d shutdowns

- by DAVID WARD

QAlthough my Mac mini seems to have been running sweetly with El Capitan, a couple of times recently it has shut down of its own accord, but the shutdowns haven’t coincided with any interrupti­on to the mains power supply. Why could that be?

AThese are almost certainly the result of kernel panics, in which the heart of OS X has become so badly damaged that its only option is to force your mini to shut down. As you’re still running El Capitan, you can check whether a recent shutdown is the result of a kernel panic, by browsing its logs in Console.

Search its All Messages view to find BOOT_TIME in the first instance, which shows the last time it started up after shutting down like that. From there, show all log entries again and scroll backward in time to locate its last entries before starting up, and forward in time to look for ‘Previous shutdown cause’. The latter should give a code which you can interpret from eclecticli­ght.co/2017/02/28/ mac-shutdown-and-sleep-cause-codes.

Next, run Apple’s hardware Diagnostic­s to ensure there isn’t a hardware problem lurking, such as faulty memory. Then start up in Recovery mode, open Disk Utility, and run First Aid on your startup disk to ensure it’s OK. Those are detailed in eclecticli­ght. co/2017/03/22/running-hardware-diagnostic­sor-aht and eclecticli­ght.co/2016/08/25/ recovery-mode-and-its-tools.

If those are good, suspect a rogue app, or the possibilit­y it’s the longstandi­ng tendency to instabilit­y in El Capitan. This is a very good reason for upgrading now to Sierra, which on most Macs is considerab­ly less prone to such kernel panics.

 ??  ?? In the log, the entry BOOT_TIME marks the startup after any shutdown or restart, and helps to locate the cause.
In the log, the entry BOOT_TIME marks the startup after any shutdown or restart, and helps to locate the cause.

Newspapers in English

Newspapers from Australia