iceuse@kezako.net
2004-Aug-06 14:57 UTC
[icecast-dev] Bug in ices, playlist mode (ices kh47, libshout kh22)
Hello, I had a very strange behavior of ices: [2003-11-22 10:27:17] EROR playlist-builtin/write_ogg_data failed buffer allocation [2003-11-22 10:27:17] WARN input/input_sleep Sleeping for over 1 second (46364899), resetting timer [2003-11-22 10:27:17] WARN input/input_sleep Sleeping for over 1 second (46407041), resetting timer [2003-11-22 10:27:17] WARN input/input_sleep Sleeping for over 1 second (46407041), resetting timer [2003-11-22 10:27:17] WARN input/input_sleep Sleeping for over 1 second (46407042), resetting timer [2003-11-22 10:27:17] WARN input/input_sleep Sleeping for over 1 second (46407042), resetting timer <p>it generates thousands of thousands of lines like these... the CPU load stuck to 12... I don't have the begining of the problem as ices rotates probably many times the log file the server was completly overloaded, but we got ps info: root 10083 0.0 1.0 8612 2664 ? S 00:00 0:00 ices /tmp/ices_conf.28018.xml root 10085 0.0 1.0 8612 2664 ? S 00:00 0:00 ices /tmp/ices_conf.28018.xml root 10086 1.0 1.0 8612 2664 ? S 00:00 6:23 ices /tmp/ices_conf.28018.xml root 10087 35.8 1.0 8612 2664 ? S 00:00 220:51 ices /tmp/ices_conf.28018.xml 220 sec consumed in 10 hours ! here is my ices config: <?xml version="1.0"?> <ices> <background>0</background> <!-- run in background? (unimplemented) --> <logpath>/var/log/ices</logpath> <logfile>ices.log</logfile> <loglevel>4</loglevel> <!-- 1=error,2=warn,3=info,4=debug --> <!-- <logsize>2048</logsize> the size the log file must be before rotation --> <consolelog>0</consolelog> <stream> <!-- OUTPUT SOURCE IDENTIFICATION --> <name>blobloblo</name> <genre>bliblibli</genre> <description>vblablabla</description> <!-- INPUT --> <input> <module>playlist</module> <param name="type">basic</param> <param name="file">/usr/radio/etc/playlist_rbg.txt</param> <param name="random">1</param> <param name="once">0</param> </input> <!-- OUTPUT SERVER and ENCODING --> <runner> <instance> <shout> <hostname>localhost</hostname> <port>443</port> <mount>/radio-bro-gwened-default.ogg</mount> <password>XXXX</password> <reconnectdelay>5</reconnectdelay> <reconnectattempts>1</reconnectattempts> </shout> </instance> </runner> </stream> </ices> ------------------------------ Best regards, Chris --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Karl Heyes
2004-Aug-06 14:57 UTC
[icecast-dev] Bug in ices, playlist mode (ices kh47, libshout kh22)
On Sat, 2003-11-22 at 10:00, iceuse@kezako.net wrote:> Hello, > I had a very strange behavior of ices: > [2003-11-22 10:27:17] EROR playlist-builtin/write_ogg_data failed buffer allocationThis would indicate that too much audio was in flight to the output, if it was running ok for some time then this probably means that the system became very busy preventing the runner from freeing up these buffers.> [2003-11-22 10:27:17] WARN input/input_sleep Sleeping for over 1 second (46364899), resetting timer > [2003-11-22 10:27:17] WARN input/input_sleep Sleeping for over 1 second (46407041), resetting timer > [2003-11-22 10:27:17] WARN input/input_sleep Sleeping for over 1 second (46407041), resetting timer > [2003-11-22 10:27:17] WARN input/input_sleep Sleeping for over 1 second (46407042), resetting timer > [2003-11-22 10:27:17] WARN input/input_sleep Sleeping for over 1 second (46407042), resetting timerI would expect one of these, receiving several of these is odd, I'll look into it.> it generates thousands of thousands of lines like these... the CPU load stuck to 12... > I don't have the begining of the problem as ices rotates probably many times the log fileit will do if the timer is out of sync by about 40+ seconds,> the server was completly overloaded, but we got ps info: > root 10083 0.0 1.0 8612 2664 ? S 00:00 0:00 ices /tmp/ices_conf.28018.xml > root 10085 0.0 1.0 8612 2664 ? S 00:00 0:00 ices /tmp/ices_conf.28018.xml > root 10086 1.0 1.0 8612 2664 ? S 00:00 6:23 ices /tmp/ices_conf.28018.xml > root 10087 35.8 1.0 8612 2664 ? S 00:00 220:51 ices /tmp/ices_conf.28018.xml > > 220 sec consumed in 10 hours !use the -f flag as well to ps, that will tell me which thread it is. But from those figures 10087 is the runner and the CPU is being spent doing the re-encoding, if you want to avoid re-encoding use (within the instance). <passthru>1</passthru> depending on the hardware ~35% CPU is not unreasonable for re-encoding, but it seems the timer is way out of sync. Do you have realtime enabled?, it would say it at the start of the log before any processing is done. karl. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
iceuse@kezako.net
2004-Aug-06 14:57 UTC
[icecast-dev] Bug in ices, playlist mode (ices kh47, libshout kh22)
Hello, I changed my config for ices and added passthru. I will see how it will run now. I have realtime I think: [2003-11-24 22:54:25] INFO ices-core/main Streamer version IceS 2.0-kh47 [2003-11-24 22:54:25] INFO ices-core/main libshout version 2.0-kh22 [2003-11-24 22:54:25] INFO ices-core/main realtime scheduling has been enabled [2003-11-24 22:54:25] DBUG stream/start_runners starting runner [2003-11-24 22:54:25] INFO stream/ices_runner Runner 1 ready [2003-11-24 22:54:25] INFO playlist-builtin/playlist_init_module Initialise playlist module [2003-11-24 22:54:25] DBUG input/initialise_input_modules Module 1 (playlist) has 200 buffers [2003-11-24 22:54:25] DBUG input/open_next_input_module checking module 1 [2003-11-24 22:54:25] INFO playlist-builtin/playlist_open_module open playlist module [2003-11-24 22:54:25] DBUG playlist-builtin/playlist_open_module initialised module [2003-11-24 22:54:25] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/usr/radio/etc/playlist_rbg.txt" [2003-11-24 22:54:25] DBUG playlist-basic/shuffle Playlist has been shuffled [2003-11-24 22:54:25] INFO playlist-builtin/find_next_entry Currently playing "/usr/radio/share/ices//Dibenn-8-Planedenn.ogg" I'll keep you informed if any problem Many thanks, Chris --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Maybe Matching Threads
- Bug in ices, playlist mode (ices kh47, libshout kh22)
- Bug in ices, playlist mode (ices kh47, libshout kh22)
- Bug in ices, playlist mode (ices kh47, libshout kh22)
- Bug in ices, playlist mode (ices kh47, libshout kh22)
- Bug in ices, playlist mode (ices kh47, libshout kh22)