Re: [hlds_linux] Server Hang / Restart Script ?

2013-07-02 Thread edman747
here is one that I use on a few servers.
http://forums.svencoop.com/showthread.php/40359-Howto-keep-a-Half-Life-dedicated-server-running-Linux?p=493263#post493263


On Tue, Jul 2, 2013 at 2:54 PM, D Bauhmz  wrote:

> Azelphur made something that can detect this I think. Can't vouch for it
> working or not but:
>
> https://github.com/Azelphur/srcds-detect-freeze
>
>
> On Tue, Jul 2, 2013 at 3:18 PM, Jeff Sugar  wrote:
>
> > Although it would be kinda overkill for you if you don't need the other
> > features it office, I use--and absolutely love--TCAdmin. It's a webpanel,
> > and among its many features (one of which being the one you're looking
> > for!), I love how easy it makes it for my various admins to update the
> > server securely
> > On Jul 2, 2013 11:55 AM, "Chris Oryschak"  wrote:
> >
> > > Does anyone have any good scripts they are willing to share to restart
> a
> > > server when it hangs/freezes with the 100% cpu bug?
> > >
> > > I'm guessing you will need to use qstat to query the server to
> determine
> > if
> > > it's no longer running/responding and then restart it.
> > >
> > > Anyone?
> > >
> > > Thanks,
> > > Chris
> > > ___
> > > To unsubscribe, edit your list preferences, or view the list archives,
> > > please visit:
> > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
> > >
> > ___
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
> >
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux


Re: [hlds_linux] Server Hang / Restart Script ?

2013-07-02 Thread D Bauhmz
Azelphur made something that can detect this I think. Can't vouch for it
working or not but:

https://github.com/Azelphur/srcds-detect-freeze


On Tue, Jul 2, 2013 at 3:18 PM, Jeff Sugar  wrote:

> Although it would be kinda overkill for you if you don't need the other
> features it office, I use--and absolutely love--TCAdmin. It's a webpanel,
> and among its many features (one of which being the one you're looking
> for!), I love how easy it makes it for my various admins to update the
> server securely
> On Jul 2, 2013 11:55 AM, "Chris Oryschak"  wrote:
>
> > Does anyone have any good scripts they are willing to share to restart a
> > server when it hangs/freezes with the 100% cpu bug?
> >
> > I'm guessing you will need to use qstat to query the server to determine
> if
> > it's no longer running/responding and then restart it.
> >
> > Anyone?
> >
> > Thanks,
> > Chris
> > ___
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
> >
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux


Re: [hlds_linux] Server Hang / Restart Script ?

2013-07-02 Thread Jeff Sugar
Although it would be kinda overkill for you if you don't need the other
features it office, I use--and absolutely love--TCAdmin. It's a webpanel,
and among its many features (one of which being the one you're looking
for!), I love how easy it makes it for my various admins to update the
server securely
On Jul 2, 2013 11:55 AM, "Chris Oryschak"  wrote:

> Does anyone have any good scripts they are willing to share to restart a
> server when it hangs/freezes with the 100% cpu bug?
>
> I'm guessing you will need to use qstat to query the server to determine if
> it's no longer running/responding and then restart it.
>
> Anyone?
>
> Thanks,
> Chris
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux
>
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux


Re: [hlds_linux] Server Hang / Restart Script ?

2013-07-02 Thread Ulrich Block

Am 02.07.2013 20:55, schrieb Chris Oryschak:

Does anyone have any good scripts they are willing to share to restart a
server when it hangs/freezes with the 100% cpu bug?

I'm guessing you will need to use qstat to query the server to determine if
it's no longer running/responding and then restart it.

Anyone?

Thanks,
Chris
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux




if [[ `printf 
'\xFF\xFF\xFF\xFF\x54\x53\x6F\x75\x72\x63\x65\x20\x45\x6E\x67\x69\x6E\x65\x20\x51\x75\x65\x72\x79\x00'
 | netcat -u -w 1 myip 27020` ]]; then echo "server is up"; fi



___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux


[hlds_linux] Server Hang / Restart Script ?

2013-07-02 Thread Chris Oryschak
Does anyone have any good scripts they are willing to share to restart a
server when it hangs/freezes with the 100% cpu bug?

I'm guessing you will need to use qstat to query the server to determine if
it's no longer running/responding and then restart it.

Anyone?

Thanks,
Chris
___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux