Stream randomly dismounting
  • Hi,

    We've been having some problems with our Airtime stream dismounting from Icecast. Happens at random times, sometimes after a week, sometimes after 2 hours. I've been restarting liquidsoap to get the stream running again, but it seems to be happening more frequently. I've checked the liquidsoap log and found the relevant part, but a search on here didn't yield any results:

    2013/02/01 11:36:48 [queue:3] Prepared "/var/tmp/airtime/pypo/cache/scheduler/358.m4a" (RID 13).
    2013/02/01 11:36:48 [amplify_5387:3] Overriding amplification: 1.000000.
    2013/02/01 11:36:48 [lang:3] /usr/lib/airtime/pypo/bin/liquidsoap_scripts/notify.sh --data='0' --media-id=4795 &
    2013/02/01 11:36:48 [lang:3] Using stream_format 0
    2013/02/01 11:40:38 [decoder:3] Method "MP4" accepted "/var/tmp/airtime/pypo/cache/scheduler/263.m4a".
    2013/02/01 11:42:09 [clock.wallclock_main:2] Too much latency! Resetting active sources...
    2013/02/01 11:42:09 [radio:3] Closing connection...
    2013/02/01 11:42:09 [radio:3] Connecting mount radio for source@127.0.0.1...
    2013/02/01 11:42:09 [radio:3] Connection setup was successful.
    2013/02/01 11:42:09 [radio:2] Connection failed: Cannot allocate memory in fork()
    2013/02/01 11:42:09 [threads:1] Thread "wallclock_main" aborts with exception Cannot allocate memory in fork()!
    2013/02/01 11:42:09 [threads:3] Raised by primitive operation at file "unix.ml", line 765, characters 8-14
    2013/02/01 11:42:09 [main:3] Shutdown started!
    2013/02/01 11:42:09 [main:3] Waiting for threads to terminate...
    2013/02/01 11:57:25 [server:3] New client: localhost.
    2013/02/01 11:57:25 [server:3] Client localhost disconnected.
    2013/02/01 11:57:25 [server:3] New client: localhost.
    2013/02/01 11:57:25 [lang:3] dynamic_source.get_id
    2013/02/01 11:57:25 [server:3] Client localhost disconnected.
    2013/02/01 11:57:25 [server:3] New client: localhost.
    2013/02/01 11:57:25 [lang:3] source.skip
    2013/02/01 11:57:25 [queue:1] Finished with a non-existent file?! Something may have been moved or destroyed during decoding. It is VERY dangerous, avoid it!
    2013/02/01 11:57:25 [server:3] Client localhost disconnected.
    2013/02/01 11:57:25 [server:3] New client: localhost.
    2013/02/01 11:57:25 [lang:3] dynamic_source.output_stop
    2013/02/01 11:57:25 [lang:3] dynamic_source.id
    2013/02/01 11:57:25 [server:3] Client localhost disconnected.

    If anyone has any ideas I'd appreciate it!

    (Airtime 2.2.1 on Ubuntu 12.04.1. LTS.)