Hi all ! Le mardi 11 mai 2010 11:28:42, Andrew a écrit : > I just successfully reproduced this with an Ogg stream as well. I killed > the Ogg mountpoint within Icecast and saw this in netstat: > > tcp4 0 0 192.168.1.99.55772 X.X.X.X.8000 CLOSE_WAIT > tcp4 0 0 192.168.1.99.65159 X.X.X.X.8000 ESTABLISHED > > I have liquidsoap encoding an AAC+ and Ogg stream. Interestingly enough, > the AAC+ stream stayed connected (which I would expect, given that I only > killed the Ogg stream), but it's buffer quickly drained down to 0% and > required me to restart liquidsoap. Suggesting that liquidsoap was stuck? > > This is a bit of an odd situation. I have had no problem using liquidsoap > on FreeBSD in the past. Unfortunately this computer is at a client's > location that I don't have physical access to. I suspect that they may > have a firewall or router that could be causing the connection to not shut > down properly?
This is unfortunate that it worked previously.. A firewall could be the issue, indeed.. > I just tried using the Ices source encoder as well. It also did not > reconnect right away either, but only took about 2 minutes compared to the > 6 minute timeout that I've been seeing in liquidsoap. Here is the ices > log: > > [2010-05-11 10:13:34] INFO om_shout/check_shout_connected Connected to > server: X.X.X.X:8000/mount-32k.ogg [2010-05-11 10:13:34] DBUG > om_shout/output_ogg_shout initialising output stream > [2010-05-11 10:16:41] EROR om_shout/output_ogg_shout Failed to write to > X.X.X.X:8000/mount-32k.ogg (Socket is busy) [2010-05-11 10:16:41] DBUG > om_shout/_output_connection_close closed shout connection > [2010-05-11 10:16:44] DBUG om_shout/check_shout_connected Time we started > stream on X.X.X.X:8000/mount-32k.ogg > > Is there any type of connection timeout variable in liquidsoap that I > should look at using? Hmmm.. that's probably a part of ocaml-cry (our new implementation of shout) that we did not test enough. There is a default timeout of 30. seconds in our implementation. I am surprised, then, that you get a 6 min delay. Unfortunately, this default cannot be overriden for now.. I believe your problem may come from the our usage of the Unix interface in OCaml under FreeBSD. I would be very pleased to propose you some test and patches to see how we can fix this issue. Are you able to test patches ? Romain ------------------------------------------------------------------------------ _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users