My yun seems to completely lock up after a random period of time that can be measured in hours. I mean really lock up. No network (can’t ping it), no internal logging on the linino side, no anything. Just full stop.
I have 5 sensors on the yun. The arduino side reads their values and puts them on the bridge. The linino side grabs the values and sends them to xively via python scripts. If it can’t get to xively it logs them localy in sqlite on an sd card.
What I have done to troubleshoot:
Cronjob to output logread, mpstat, and df to sd every minute. Did not see anything abnormal like disk full, cpu pegged, out of memory, etc…
Log python script output to sd. Again nothing unusual.
Removed the xively libraries and wrote the sending myself just using requests.
Disabled wifi per: http://forum.arduino.cc/index.php?PHPSESSID=k27olhiht35m42c54uevu74vn0&topic=188821.msg1399080#msg1399080
Add the “-u” per: http://forum.arduino.cc/index.php?topic=196091.0
reset everything to out of box.
downloaded a nightly arduino build and recompiled my sketch with that.
reflashed with stock linino image from arduino website.
reflashed with latest linino image from linino website. Did not spend long on that as some other things did not work out of the box. However, if that is the route I should go I am fine with figuring that out.
I am kind of at a loss as what to do next. I am a windows server and network guy by day so I get the concepts but am new to linux so I just don’t know where else to look.
Any guidance would be greatly appreciated!