Hi,
I have seen a hangup due to full disk /dev/sdb.
the LS script is
- recording from ALSA,
- uses some "say:" generated fallback messages and
- writes the WAV output to disk
- and streams it to the destination via icecast.
The OS and LS is installed at /dev/sda, /dev/sdb was full, which is used for
saving the WAV archive only.
when starting liquidsoap it hang up. LS tries to exit, but the process keeps
hanging in the process tree.
as a result upstart tries to restart it but fail again.
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [threads:1] Thread
"src_4926" aborts with exception Alsa error: Device or resource busy!
when trying same with pulseaudio it hang up with
/var/log/liquidsoap/play.log 2011/09/06 18:13:05 [threads:1] Thread
"wallclock_pulse" aborts with exception Sys_error("No space left on device")!
I am still wondering why alsa wants to write to /dev/sdb1
Once the wav output target /dev/sdb is full, I would expect an error message,
but should not streaming continuesly run?
/var/log/syslog Sep 6 18:08:27 wbox-lottum init: liquidsoap main process
(1991) terminated with status 255
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 >>> LOG START
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [protocols.external:3]
Didn't find "ufetch".
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [protocols.external:3]
Found "/usr/bin/wget".
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [main:3] Liquidsoap
1.0.0-beta3+svn (default@3f5892d6a90b:20110828:144312)
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [main:3] Using:
graphics=[distributed with Ocaml] pcre=6.0.1 dtools=0.2.2 duppy=0.4.1
duppy.syntax=0.4.1 cry=0.2.1 mm=0.1.0 xmlplaylist=0.1.3 ogg=0.4.2 vorbis=0.6.0
mad=0.4.3 flac=0.1.0 flac.ogg=0.1.0 dynlink=[distributed with Ocaml] lame=0.3.0
alsa=0.2.1 samplerate=0.1.1 taglib=0.2.0 magic=0.7.3 camomile=0.7.1 faad=0.3.0
soundtouch=0.1.5 pulseaudio=0.1.2 ladspa=0.1.3
...
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [frame:3] Using 44100Hz
audio, 25Hz video, 44100Hz master.
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [frame:3] Frame size must
be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [frame:3] Targetting
'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [frame:3] Frames last 0.04s
= 1764 audio samples = 1 video samples = 1764 ticks.
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [decoder:3] Method "MP3"
accepted "/radio/sound/testbetrieb.mp3".
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [single:3]
"/radio/sound/testbetrieb.mp3" is static, resolving once for all...
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [single:3] "say:Alsa
failed!" is static, resolving once for all...
/var/log/liquidsoap/play.log 2011/09/06 18:08:29 [protocols.say:3]
Synthetizing "Alsa failed" to "/tmp/say4d3c59.wav"
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [decoder:3] Method "WAV"
accepted "/tmp/say4d3c59.wav".
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [decoder:3] Method "MP3"
accepted "/radio/sound/silence.mp3".
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [single:3]
"/radio/sound/silence.mp3" is static, resolving once for all...
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [threads:3] Created thread
"generic queue #1".
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [/radio:3] Connecting mount
/radio for liquidsoap@localhost...
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [/radio:3] Connection setup
was successful.
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [threads:3] Created thread
"src_4926" (1 total).
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [src_4926:3] Using ALSA
1.0.22.
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [threads:3] Created thread
"wallclock_alsa" (2 total).
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [clock.wallclock_alsa:3]
Streaming loop starts, synchronized by active sources.
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [mksafe:3] Switch to
fallback_4950.
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [fallback_4950:3] Switch to
src_4946.
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [fallback_4943:3] Switch to
mksafe.
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [mksafe:3] Switch to
src_4926.
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [threads:1] Thread
"src_4926" aborts with exception Alsa error: Device or resource busy!
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [threads:3] Raised by
primitive operation at file "", line 0, characters 0-0
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [main:3] Shutdown started!
/var/log/liquidsoap/play.log 2011/09/06 18:08:30 [main:3] Waiting for
threads to terminate...
/var/log/icecast2/error.log [2011-09-06 18:08:30] INFO
connection/_handle_source_request Source logging in at mountpoint "/radio"
/var/log/icecast2/error.log [2011-09-06 18:08:30] INFO
source/source_move_clients passing 1 listeners to "/radio"
/var/log/icecast2/error.log [2011-09-06 18:08:30] INFO source/source_main
listener count on /testbetrieb.ogg now 0
/var/log/icecast2/error.log [2011-09-06 18:08:30] INFO source/source_main
listener count on /radio now 1
^C
/var/log/icecast2/error.log [2011-09-06 18:08:41] WARN
source/get_next_buffer Disconnecting source due to socket timeout
/var/log/icecast2/error.log [2011-09-06 18:08:41] INFO
source/source_shutdown Source "/radio" exiting
/var/log/icecast2/error.log [2011-09-06 18:08:41] INFO
source/source_move_clients passing 1 listeners to "/testbetrieb.ogg"
/var/log/icecast2/error.log [2011-09-06 18:08:41] INFO source/source_main
listener count on /testbetrieb.ogg now 1
when trying to use pulseaudio...
/var/log/liquidsoap/play.log 2011/09/06 18:13:05 [mksafe:3] Switch to
pulse_in().
/var/log/liquidsoap/play.log 2011/09/06 18:13:05 [threads:1] Thread
"wallclock_pulse" aborts with exception Sys_error("No space left on device")!
/var/log/liquidsoap/play.log 2011/09/06 18:13:05 [threads:3] Raised by
primitive operation at file "pervasives.ml", line 252, characters 2-40
/var/log/liquidsoap/play.log 2011/09/06 18:13:05 [threads:3] Called from
file "list.ml", line 69, characters 12-15
At the receiver side I found:
2011/09/06 18:08:05 [station1:3] Buffer overrun: Dropping 0.03s.
2011/09/06 18:08:05 [station1:3] Buffer overrun: Dropping 0.03s.
2011/09/06 18:08:05 [station1:3] Buffer overrun: Dropping 0.03s.
2011/09/06 18:08:05 [station1:3] Buffer overrun: Dropping 0.01s.
...
BR, Peter
------------------------------------------------------------------------------
Malware Security Report: Protecting Your Business, Customers, and the
Bottom Line. Protect your business and customers by understanding the
threat from malware and how it can impact your online business.
http://www.accelacomm.com/jaw/sfnl/114/51427462/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users