by sdjf » Thu Mar 13, 2014 5:16 pm
tikidollracer's comment about peaking out at high usage seems important, but no response about how to detect this.
My hunch from my own freezes is that memory or cpu or whatever (I get them confused) maxes out too quickly for the situation to be detected in any logs, because when that happens, my pi loses the ability to write the information, or do anything. there has to be a way to detect this, so we can have daemons of some sort monitoring the situation, and forcing a safe shutdown when that happens, before the Pi freezes and forces us to pull the power plugs to reboot.
for me, I think it is when there is too much going on, too many memory intense things happening all at the same time. it might get worse when I reinstall a GUI browser but, right now, I have things set up so my Pi refuses to run VNC viewer if I have spreadsheets open, since that combination seems to cause the freezes. In your case, needing to run a number of memory intense things (?), not running them together is not an option.
Somebody, please, what system state or information could we monitor in heartbeat scripts or daemons that would enable us to determine the need for a safe shutdown or sync/reboot before a freeze?