[icecast-dev] Bug in ices, playlist mode (ices kh47, libshout kh22)

iceuse at kezako.net iceuse at kezako.net
Sat Nov 22 02:00:28 PST 2003



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 at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast-dev mailing list