I have this strange problem of my OSMac rebooting. Everything was normal until I started syncing photos from icloudiCloud (this could be coincidental, maybe not). First time I noticed a problem after 1-2 days as my system fenfan started going crazy, with CPU utilization at a max, several minutes later followed by system shut down. I traced the 100CPU100% CPU to spotlightSpotlight reindexing constantly; I temporarily disabled indexing:
sudo mdutil -a -i off
sudo mdutil -a -i off
Problems with fensfans went away, but now photos service was going at very high CPU, accelerating fensfans again. I disable photosdisabled Photos app (as much as I knew how) to avoid performing any analysis. This solved the fensfans and CPU going crazy problem. I could live without Photos on this Mac, no problems here.
Photos/spotlightSpotlight searching might just be coincidental, this part I'm not sure. Just so my system was more or less stable for at least several month before this addition.
But, here's the problem:
As soon as I leave my computer alone, after several minutes of inactivity, something happens that my computer goes into sudden reboot. I can't even leave it for 5 min for bathroom break. For information: putting computer to sleep was always disabled on my macMac, only screen saver and later on monitors were to trigger. Now I disabled it all, with no difference. I tried: 'caffeinate' with no difference as well.
Also, working on my Mac, performing various tasks has no effect whatsoever, but leaving it idle, goes to reboot soon.
Please help. What I was trying to find is if there's some kind of log that I could dump of a system on freeze, some entry to trace of what was the final activity before my Mac reboots. Any idea?
Please help, struggling without a real understanding of why.