1
submitted 1 year ago by [email protected] to c/[email protected]

I have this Debian server that won't stop crashing. It crashes once every 2 or 3 days. Everything's up to date, the cpu is good and prime 95 never finds any problems. The ram is good and I've run every ram test there is and never found anything wrong. I just can't get it to stop crashing and it's driving me insane.

I used to have an arduino connected to the motherboard's reset jumper and then set up a bash script as a systemctl service that sent a signal to the arduino every 10 seconds and if the arduino didn't receive a signal after 30 seconds it forces a reboot. This doesn't even automate the process of restarting after a crash because too often, the server will crash just lightly enough that everything except that autorestart bash script service stops working so it won't reboot. It does double amount the time the server works without manual intervention though which is better than nothing but not good enough.

Other than just randomly installing different distros until I find one that doesn't do this (reinstalling an os and then setting all the server stuff back up is very time consuming), what can I do to troubleshoot/solve/stop or otherwise do anything about these crashes?

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 2 points 1 year ago

Sorry to come so late to the post, but have you checked the logs to see what was going on before the crash?

try journalctl -b -1 -e as it will show the last of the logs of the previous boot.

this post was submitted on 12 Jul 2023
1 points (60.0% liked)

Debian

837 readers
4 users here now

❤️ Debian

Rules

founded 1 year ago
MODERATORS