This script worked to reboot after a wedge. Assuming one has a
watchdog of course.
#!/bin/sh
if [ `id -u` != 0 ]; then
echo run as root
exit 1
fi
wdogctl -e -p 360 tco0
while true; do
echo -n "LOOP: "; date
date > /tank0/n0/do-wdog
sync
wdogctl -t
I'm having trouble with zfs causing a system to run out of memory, when
I think it should work ok. I have tried to err on the side of TMI.
I have a semi-old computer (2010) that is:
netbsd-10
amd64
8GB RAM
1T SSD
cpu0: "Pentium(R) Dual-Core CPU E5700 @ 3.00GHz"
cpu1: "Pentium(R