I'm just wondering how people are keeping Icecast and Liveice running. If it crashes at some point do you just restart everything by hand or do you have something to keep an eye on the processes (e.g svscan/daemontools program)??? I will be running a stream for a radio station and if the stream crashes I would like it to know that it has crashed and either reboot the system or restart the processes somehow. Matt By the way...thanks for all the help. Things seem to be running great so far. Now it's just getting some of these details figured out and I'll be all set. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Liveice definitely needs a keepalive script of some kind. It's tricky, though - since it can lose connection to the server & stop streaming, but continue to run. The only truly reliable keepalive I've used polls the server to see if it says the stream is up & if not kills & restarts liveice. When killing liveice, it's best to kill the lame process(es) that it spawns as well. I've seen it leave behind zombie lame processes that prevent liveice from starting up. The server generally stays up just fine. -bg> I'm just wondering how people are keeping Icecast and Liveice running. Ifit crashes at some point do you just restart everything by hand or do you have something to keep an eye on the processes (e.g svscan/daemontools program)??? I will be running a stream for a radio station and if the stream crashes I would like it to know that it has crashed and either reboot the system or restart the processes somehow.> > Matt >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Mon, 8 Oct 2001 11:37:07 -0700, "William Goldsmith" <wildbill@kpig.com> wrote:> Liveice definitely needs a keepalive script of some kind. It's tricky, > though - since it can lose connection to the server & stop streaming, butAttatched is a quick perl hack that I've been using for the past year or so with much success. The code is disgusting, but has held up pretty well. Although Bill's idea of polling on the server side seems like the more kosher way to do it. David ------- David Parker <david@neongoat.com> Neon Goat Productions http://www.neongoat.com 0xF90FFFE5 / F362 51F7 6D51 85EB AF68 75B9 D29B 1AFC F90F FFE5 ------- <HR NOSHADE> <UL> <LI>application/x-perl attachment: liveice_watchdog.pl </UL> -------------- next part -------------- A non-text attachment was scrubbed... Name: liveice_watchdog.pl Type: application/octet-stream Size: 3488 bytes Desc: not available Url : http://lists.xiph.org/pipermail/icecast/attachments/20011008/3071cb68/liveice_watchdog.obj
I'd love to take a look at this script, and, more than likely, I'm not the only one :) Please post an example.> Liveice definitely needs a keepalive script of some kind. It's tricky, > though - since it can lose connection to the server & stop streaming, but > continue to run. The only truly reliable keepalive I've used polls the > server to see if it says the stream is up & if not kills & restarts liveice. > When killing liveice, it's best to kill the lame process(es) that it spawns > as well. I've seen it leave behind zombie lame processes that prevent > liveice from starting up.-- ------------------------------------ Robin P. Blanchard IT Program Specialist Georgia Center for Continuing Ed. fon: 706.542.2404 fax: 706.542.6546 email: Robin_Blanchard@gactr.uga.edu ------------------------------------ --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.