[icecast-dev] Icecast source number problem, ices frozen after reconnect attemps failure (icecastkh13 iceskh48)

Karl Heyes karl at xiph.org
Wed Nov 26 06:42:39 PST 2003



On Wed, 2003-11-26 at 10:17, iceuse at kezako.net wrote:
> Hello,
> 
> I had a problem with ices kh48 and icecastkh13. I usually restart them by cron at 00:00.
> 
> ----------1----------
> This night, icecast told ices "Too many sources" for radio-bro-gwened.ogg...
> All right, I've just seen that my config file is wrong for icecast (I have 3 sources):
>             <sources>2</sources>
...
> so even if config file says 2 sources max, I can have three, but sometime, icecast restricts to the asked value: 2

hmm, ok I'll look into this.. Do you have any relays defined ?

> -------------2----------
> ices could'nt connect because of the source limitation. ok.
> But ices process are still alive at 10am.... I killed then, they have been relaunched by my launcher and ices connects to icecast and then everything goes right... without changing anything in the config file.
> So, if it fails to connect to the server, it does several trial 
> (<reconnectdelay>3</reconnectdelay><reconnectattempts>20</reconnectattempts>) 
> and then froze and stays alive... this prevent any further automatic restart of ices. My launcher didn't notice ices is frozen (because processes are still alive) and did nothing instead of restarting it.
> 
> Should ices do a shutdown after finishing unsuccessfully its reconnect attempts?

The reconnectattempts value is from the CVS code, and can be a bit awkward
in general.

ices can have multiple instances and in these mods can have multiple shout
connections per instance.  I don't think terminating ices for just one shout
connection is acceptable, I'm more inclined to drop the reconnectattempts
completely and treating it as indefinite. Use a value of -1 now for the same
effect.

karl

--- >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-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast-dev mailing list