[Icecast] ices2 routinely abandons one of its streams

Frederic Briere fbriere
Sat Jul 24 10:22:33 UTC 2004


<1089805820.22939.21.camel at bogus.hackers.club>
<20040715084719.GA2698 at hyrule.dyndns.org>
Message-ID: <20040724172233.GA19632 at hyrule.dyndns.org>

On Thu, Jul 15, 2004 at 04:47:19AM -0400, Frederic Briere wrote:
> > They are both in svn now, and various bits are being merged into trunk.
> > libshout is API compatible to trunk but ices requires some small changes
> > to your existing xml, the examples in conf should show the differences
> > easy enough.
>
> Thanks!  It took a bit of trial and error, but I've managed to get it
> running.  Now I have to wait and see it the problem manifests itself
> again.  [knocks on wood]

So far so good, I haven't seen this problem again in over a week.
However, it seems that ices2 is ignoring my reconnectattempts=-1.
Here's an excerpt from my logs:

[2004-07-20  18:15:33] EROR om_shout/output_ogg_shout Failed to write to ice.imars.net:8000/cigr.ogg (Socket error)
[2004-07-20  18:15:33] DBUG om_shout/_output_connection_close closed shout connection
[2004-07-20  18:15:43] DBUG om_shout/check_shout_connected Time we started stream on ice.imars.net:8000/cigr.ogg
[2004-07-20  18:15:49] WARN input-oss/oss_read will skip input for a short time
[2004-07-20  18:15:58] INFO input/input_loop Closing input module
[2004-07-20  18:15:58] INFO input-oss/oss_close_module Closing OSS module
[2004-07-20  18:15:58] DBUG input/open_next_input_module checking module 1
[2004-07-20  18:15:58] INFO input-oss/oss_open_module Opened audio device /dev/dsp at 2 channel(s), 44101 Hz
[2004-07-20  18:15:58] WARN input-oss/oss_read will skip input for a short time

(This repeats a couple of times)

[2004-07-20  18:16:44] INFO input/input_loop Closing input module
[2004-07-20  18:16:44] INFO input-oss/oss_close_module Closing OSS module
[2004-07-20  18:16:44] DBUG input/open_next_input_module checking module 1
[2004-07-20  18:16:44] WARN input/open_next_input_module Too many failures on input module 1 (OSS)
[2004-07-20  18:16:44] DBUG input/input_loop All input stopped, shutting down.
[2004-07-20  18:16:44] DBUG stream/runner_close Runner thread 1 shutting down
[2004-07-20  18:18:18] EROR om_shout/check_shout_connected Terminating connection to ice.imars.net:8000/cigr.ogg
[2004-07-20  18:18:18] EROR om_shout/check_shout_connected no reply came in 10 seconds
[2004-07-20  18:18:18] DBUG om_shout/_output_connection_close closed shout connection
[2004-07-20  18:18:19] EROR om_shout/output_ogg_shout Failed to write to ice.imars.net:8000/cigr-low.ogg (Socket error)
[2004-07-20  18:18:19] DBUG om_shout/_output_connection_close closed shout connection
[2004-07-20  18:18:20] DBUG stream/ices_runner Runner thread 1 cleaning up streams
[2004-07-20  18:18:20] DBUG stream/stream_cleanup Cleanup of stream 1 required
[2004-07-20  18:18:20] DBUG stream/flush_ogg_packets Flushing out encoded ogg packets stream 1
[2004-07-20  18:18:20] DBUG stream/_output_oggpacket packet marked with EOS seen
[2004-07-20  18:18:20] DBUG encode/encode_free Freeing encoder engine
[2004-07-20  18:18:20] DBUG stream/output_clear Clearing up output state
[2004-07-20  18:18:20] DBUG om_shout/_output_connection_close closed shout connection
[2004-07-20  18:18:20] DBUG stream/stream_cleanup Cleanup of stream 2 required
[2004-07-20  18:18:20] DBUG stream/flush_ogg_packets Flushing out encoded ogg packets stream 2
[2004-07-20  18:18:20] DBUG stream/_output_oggpacket packet marked with EOS seen
[2004-07-20  18:18:20] DBUG encode/encode_free Freeing encoder engine
[2004-07-20  18:18:20] DBUG stream/output_clear Clearing up output state
[2004-07-20  18:18:20] DBUG om_shout/_output_connection_close closed shout connection
[2004-07-20  18:18:20] DBUG stream/ices_runner Runner thread 1 finshed
[2004-07-20  18:18:20] DBUG input/free_modules freeing up module storage
[2004-07-20  18:18:20] INFO ices-core/main Shutdown in progress


The "too many failures" is the part that bugs me; my requirements are
that if the connection goes down for any amount of time, then the client
must retry indefinitely so that it connects as soon as the connection
comes up again.  Otherwise, I get an urgent page during my vacation. :/


--
Frederic Briere    <*>    fbriere at fbriere.net

=>  <fbriere at abacom.com> IS NO MORE:  <http://www.abacomsucks.com>  <=


More information about the Icecast mailing list