• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux crashes - restart

zielok

New Member
Joined
Mar 8, 2009
Messages
66
Reaction score
0
how to do automatic restarter for the linux so if they server crashes it will be automaticated restarted? also is there any way to check what causes those crashes?
 
how to do automatic restarter for the linux so if they server crashes it will be automaticated restarted? also is there any way to check what causes those crashes?


it's the crash reason gdb
Code:
apt-get install gdb
turn on theforgottenserver like that
Code:
ulimit -c unlimited
while true; do ./theforgottenserver; done
after crash u will see a core which weight around 2gb
and after crash
gdb theforgottenserver corepid
bt



automatic restarter with gdb
Code:
#!/bin/bash
ulimit -c unlimited
while true; do ./theforgottenserver; done
 
Back
Top