Reputation: 11
This is on an iMac (late 2015) running MacOS Catalina. All energy saving options are off.
I have noticed this with several long-running processes and so I made a simple example.
I ran
while true; do date; sleep 60; done
around 11 am and let the screen lock. After a few hours I come back and check on it. Everything is fine for about an hour and a half, i.e. I do get one line per minute and then
Mon Feb 6 12:32:39 CET 2023
Mon Feb 6 12:33:39 CET 2023
Mon Feb 6 12:41:33 CET 2023
Mon Feb 6 12:43:08 CET 2023
Mon Feb 6 12:52:57 CET 2023
Mon Feb 6 13:28:00 CET 2023
after which it goes back to normal for about half an hour and then starts being erratic again.
Experience shows with other long running processes that the times this happens are fairly random.
Ideas on how to avoid this? I want my processes to run normally. Thanks.
Upvotes: 0
Views: 106
Reputation: 11
As @Rob mentioned in his comment yesterday, turning off power nap in Energy settings seems to solve this problem. (I had a chance to test it for several periods now, including overnight.)
Thanks!
Upvotes: 0