From: Shawn B. <au...@au...> - 2010-07-16 16:28:17
|
Howdy! Thanks for this excellent software package. When it works, it's kick butt. But I seem to be making a horrible mistake or misunderstanding, and I can't keep my stations running for more than 24 hours at a time. The good news is that a quick /etc/init.d/liquidsoap restart does the job. The bad news is I have to manually kick liquidsoap in the head to pull it off :) For reference, I'm running the latest Ubuntu 10, liquidsoap 0.9.2-1 and icecast 2.3.2-5ubuntu1 from the Ubuntu repos. I'm using lame 3.98.4-1 which I built myself as the ones in the repo are two dot releases behind. A previous error I was experiencing was "can't update LAME-tag frame" which was fixed by moving forward to the .4 dot release. However, now I'm seeing: 2010/07/16 06:45:45 [chan3-MP3:3] Restarting encoder after delay (3600s) 2010/07/16 06:45:45 [chan1-MP3:3] Restarting encoder after delay (3600s) 2010/07/16 15:25:03 [server:3] Closing liquidsoap.sock 2010/07/16 15:25:03 [main:3] Shutdown started! 2010/07/16 15:25:03 [main:3] Waiting for threads to terminate... at the end of my logfiles, but I'm not seeing any cause for it anywhere (at least up to 50 lines from tail). I see lots of "Prepared" and "Finished", and some "Decoder MP3 chosen for". I also see one "TagLib: MPEG::Header::parse() -- Invalid sample rate." But that's followed with 4 minutes of "Prepared" and "Finished" in the log before the "Restarting encoder after delay" messages and the death of Liquidsoap. A redacted version of the liq file can be seen here: http://zrn.autodmclabs.com/img/zrn.liq I run 3 channels, and soon will be at least 4. Channel 1 and Channel 2 have playlists built by a php script and stored on the filesystem. I have liquidsoap reload those every hour to "rescramble" the playlists. Channel 0 is built as a massive playlist of all songs on all channels. I currently don't support live shows or requests, as I want to get THIS stable before I add more features. Any ideas? Anything I'd need to show you guys to figure it out? I'm at wit's end here. Also, any ideas about Liquidsoap/Icecast configuration so that the entire streamer doesn't just die on an error? Worst case, I just want Liquidsoap to hup itself and reboot, hopefully without disconnecting listeners from the Icecast stream. It would be great if Icecast had an emergency backup file to play on dead air if Liquidsoap had to restart. Any ideas? I'd rather not have the stations just stop at 2 AM and not get re-hupped until I happen to tune into dead air... |