Tag: reboot
-
More Garbage Sysadmin: Reboot Linux Server on Kernel Panic
in Dev StuffFacing kernel panics on your Raspberry Pi? Dive into a less-than-ideal but efficient fix involving an automatic reboot using a startup script, ensuring your server recovers swiftly on kernel panics.
-
Bad Hack: Restart Linux Server when memory is low 😬
A hack on a Raspberry Pi server uses a script to monitor and restart the server if memory is too low. Checking swap and physical memory, it reboots if levels drop below specific thresholds. Scheduled to run every five minutes, the script logs instances when it prevents system freezes by rebooting.