There's actually watchdog timer code in the linux ds which is intended to 
prevent this - if a given server frame takes "too long", presumably because of 
something like an infinite loop, deadlock, etc, the alarm() system call should 
cause it to die with SIGALRM, which will cause the parent process to restart 
it. I belive this in on by default (disable-able by -nowatchdog), though at a 
fairly long time-out.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bl4nk
Sent: Friday, November 21, 2008 2:25 PM
To: Half-Life dedicated Linux server mailing list
Subject: Re: [hlds_linux] Server inside fork crashed, how to get it back?

I had a few servers crash while in a fork and they restarted just fine.
I've yet to run into a server freezing up, but I can see where that
would cause it to not restart.

Saint K. wrote:
> It didn't auto restart. In the end I restarted the fork to get it back.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Chris Green
> Sent: Friday, November 21, 2008 9:10 PM
> To: 'Half-Life dedicated Linux server mailing list'
> Subject: Re: [hlds_linux] Server inside fork crashed, how to get it back?
>
> It should just auto-restart - is it not?
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Saint K.
> Sent: Friday, November 21, 2008 9:26 AM
> To: 'Half-Life dedicated Linux server mailing list'
> Subject: [hlds_linux] Server inside fork crashed, how to get it back?
>
> Hi,
>
> The 16th server in a fork has crashed, now I wonder, how do I get it back
> online without needing to restart the whole fork?
>
> Cheers
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to