Unexpected reboots on a dedicated server should never be ignored. The cause could be faulty RAM, overheating, unstable power, a kernel panic, or a hardware watchdog.
Try these checks:
Check the previous boot's system logs:
journalctl -b -1 -p err
Check whether the kernel reported a panic or hardware error:
journalctl -k -b -1
Look for machine check errors:
dmesg | grep -iE "mce|hardware error|edac"
Check CPU and motherboard temperatures using supported hardware monitoring tools.
Ask your datacenter to inspect the server's IPMI/BMC event logs, power supply, RAM, and motherboard.
If the server is rebooting because of faulty hardware, software-level troubleshooting alone won't solve it. Ask the provider to run proper hardware diagnostics before replacing components.