My external hard drive seems to be the cause that Mac Mini is waking up every 6 minutes
Hello,
Running OSX 10.14.6. on Mac mini 2014.
as it is written in the subject, the system wakes up every 6 minutes while there is no access on the local network from other machines on shared folders or other services like Plex or Roon that run.
I researched what claims could cause this situation using the "pmset" command and "com.apple.powermanagement.externalmediamount" is in "Listed by proprietary process".
The other assertion is caused by the remote login I use to ssh into the machine as there is no monitor/mouse/keyboard connected to the MacMini.
For your complete information, there are 4 external drives connected to the machine and configured in RAID5 with SoftRAID from OWC.
On the RAID5 volume I have shared folders to share for example music (with Roon server) and videos with Plex server.
Also, I'm sure the wakeups aren't caused by network access because I own all the other machines running on the local network. Also, no external access to Roon or Plex services is allowed.
I would be happy if you could find something that can work in sleep mode (without waking up every 6 minutes).
Below I also added the pmset config so you can check if there is something wrong.
Regards,
Olivier
unifi:~ oliviermms$ pmset -g assertions
2022-03-12 14:23:59 +0100
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 0
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 1
PreventUserIdleSystemSleep 0
NetworkClientActive 1
Listed by owning process:
pid 55(powerd): [0x0000000600088001] 00:10:39 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"
pid 55(powerd): [0x0000026d001181fa] 00:00:22 NetworkClientActive named: "com.apple.powermanagement.ttyassertion"
Kernel Assertions: 0x124=USB,THNDR,MAGICWAKE
id=500 level=255 0x20=THNDR mod=01/01/1970 01:00 description=NHI0 owner=AppleThunderboltHAL
id=502 level=255 0x4=USB mod=01/01/1970 01:00 description=com.apple.usb.externaldevice.14800000 owner=USB3.0 Hub
id=504 level=255 0x4=USB mod=01/01/1970 01:00 description=com.apple.usb.externaldevice.14100000 owner=USB2.0 Hub
id=506 level=255 0x4=USB mod=01/01/1970 01:00 description=com.apple.usb.externaldevice.14900000 owner=4-Port USB 3.0 Hub
id=508 level=255 0x4=USB mod=01/01/1970 01:00 description=com.apple.usb.externaldevice.14200000 owner=4-Port USB 2.0 Hub
id=510 level=255 0x4=USB mod=01/01/1970 01:00 description=com.apple.usb.externaldevice.14910000 owner=Elements 2620
id=512 level=255 0x4=USB mod=01/01/1970 01:00 description=com.apple.usb.externaldevice.14930000 owner=My Passport 25E2
id=513 level=255 0x4=USB mod=01/01/1970 01:00 description=com.apple.usb.externaldevice.14840000 owner=My Passport 25E2
id=514 level=255 0x4=USB mod=01/01/1970 01:00 description=com.apple.usb.externaldevice.14130000 owner=Ellipse PRO
id=515 level=255 0x100=MAGICWAKE mod=01/01/1970 01:00 description=en0 owner=en0
id=516 level=255 0x100=MAGICWAKE mod=01/01/1970 01:00 description=en5 owner=en5
Idle sleep preventers: IODisplayWrangler
unifi:~ oliviermms$ pmset -g custom
UPS Power:
Sleep On Power Button 1
autopoweroff 0
standbydelayhigh 360
autopoweroffdelay 1800
standbydelaylow 360
standby 0
ttyskeepawake 1
hibernatemode 3
powernap 0
gpuswitch 2
hibernatefile /var/vm/sleepimage
highstandbythreshold 50
displaysleep 2
womp 1
networkoversleep 0
sleep 5
autorestart 1
disksleep 5
AC Power:
Sleep On Power Button 1
autopoweroff 1
standbydelayhigh 86400
autopoweroffdelay 28800
standbydelaylow 86400
standby 1
ttyskeepawake 1
hibernatemode 0
powernap 0
gpuswitch 2
hibernatefile /var/vm/sleepimage
highstandbythreshold 50
displaysleep 2
womp 1
networkoversleep 0
sleep 2
autorestart 1
disksleep 10
Mac mini, macOS 10.14