I have FreeBSD 11.0-STABLE installed and booting from a 64GB microSD card in a BeagleBone Black. The eMMC is dedicated to swap.
Normally it works well, sometimes for months without any problems. But other times it gets into a strange state, where it remains pingable, but it closes any TCP connections as soon as they are opened. To get it working again, I have to have someone power-cycle it, since it is running as a headless server at a remote location.
Nothing is ever in the logs to indicate what has gone wrong.
I can't reliably trigger the problem, but it seems to mainly happen at night when a backup script runs
Strangely, it happens much less often if I plug something powered into the USB port. And it never happens when I have the BBB at home with the FTDI cable attached to my PC. So I am thinking there is some kind of static buildup in the hardware.
Any ideas how to diagnose further?
Normally it works well, sometimes for months without any problems. But other times it gets into a strange state, where it remains pingable, but it closes any TCP connections as soon as they are opened. To get it working again, I have to have someone power-cycle it, since it is running as a headless server at a remote location.
Nothing is ever in the logs to indicate what has gone wrong.
I can't reliably trigger the problem, but it seems to mainly happen at night when a backup script runs
mysqldump
. I have also had it happen at random when running portsnap fetch update
, or when building something big in the ports collection, or during a buildworld.Strangely, it happens much less often if I plug something powered into the USB port. And it never happens when I have the BBB at home with the FTDI cable attached to my PC. So I am thinking there is some kind of static buildup in the hardware.
Any ideas how to diagnose further?