[ http://dev.sourcefabric.org/browse/LS-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528#action_16528 ]
MartinS4 commented on LS-535: ----------------------------- I tried today to shutdown my icecast server while liquidsoap (Liquidsoap 1.0.0-beta+svn (default@5e00569d1839:20110614:131316)) was streaming to it. (For the record I use default value of restart (false) and restart_delay (3s)) The following has been observed while two active connections were active: 2011/06/22 15:14:42 [ab6560f7-d229-4700-b61d-b948c7a3d7c9:2] Cry socket error: could not write data to host: Broken pipe in write()! 2011/06/22 15:14:42 [ab6560f7-d229-4700-b61d-b948c7a3d7c9:3] Closing connection... 2011/06/22 15:14:42 [ab6560f7-d229-4700-b61d-b948c7a3d7c9:3] Will try to reconnect in 3 seconds. 2011/06/22 15:14:42 [e2f8765c-d657-476b-a222-d8e839a6b709:2] Cry socket error: could not write data to host: Broken pipe in write()! 2011/06/22 15:14:42 [e2f8765c-d657-476b-a222-d8e839a6b709:3] Closing connection... 2011/06/22 15:14:42 [e2f8765c-d657-476b-a222-d8e839a6b709:3] Will try to reconnect in 3 seconds. 2011/06/22 15:14:46 [e2f8765c-d657-476b-a222-d8e839a6b709:3] Connecting mount autrecodec.mp3 for sou...@calim.net... 2011/06/22 15:14:46 [e2f8765c-d657-476b-a222-d8e839a6b709:2] Connection failed: could not connect to host: Connection refused in connect()! Then nothing more happened regarding these playlists. This is not exactly the same context than before ( for the record, it was "busy shoutcast listener"), neither the same resulting behavior: this time liquidsoap tries to reconnect only one time (each) ! > output.shoutcast: restart=false but trying to restart anyway (dynamic context) > ------------------------------------------------------------------------------ > > Key: LS-535 > URL: http://dev.sourcefabric.org/browse/LS-535 > Project: Liquidsoap > Issue Type: Bug > Affects Versions: 1.0 beta > Environment: ubuntu 11.04 / hg version. > Reporter: MartinS4 > > This issue happens when for example, I add a stream dynamically (thru telnet) > to a shoutcast listener instance (actually icecast 2.3.2 with shoutcast > compat listener) for which there is already client connected to it. > I am quoting myself and David: > me> What I don't understand is if the connection fail, liquidsoap retry > me > > every 3s ... but I haven't specified any "restart" properties and it > me > > seems to be "false" by default ? > Even when restart=false, the icecast output attempts to reconnect in a > few cases. Those should be very limited, but you may have found a bug > here -- this wouldn't be a big surprise, this code was written before > dynamic outputs were possible. We need to look more into that. Filing > a bug would be a good way to make sure we don't forget. > me > Or... The default for restart is not false ? ll try to add a > restart=false > me > > and see if it acts differently before filling a bug report. > It is false by default, except on old liquidsoaps which you can't be > using since you're playing with dynamic outputs. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl