Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Libsnout/ices 2 problem. Out of memory

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Icecast Streaming Media Server Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Messenger
Guest





PostPosted: Tue Aug 16, 2005 11:17 am    Post subject: Libsnout/ices 2 problem. Out of memory Reply with quote

I got a server with 196Mb.

I start icecast (icecast -c /usr/local/icecast2/conf/icecast.xml &)
It work
That i start ices (ices /usr/local/icecast2/conf/ices-playlist.xml &)
And it exit almost immediate.
File playlist are exist. It consist only from *.ogg entyres with full path.

IceCast Version: 2.0.1
libsnout: 2.1
ices: 2.0.1-20050815

Here is a log: (ices.log)
[2005-08-15 21:24:17] INFO ices-core/main IceS 2.0.1 started...
[2005-08-15 21:24:17] INFO signals/signal_usr1_handler Metadata update requested
[2005-08-15 21:24:17] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from fil
[2005-08-15 21:24:17] INFO playlist-builtin/playlist_read Currently playing "/mnt/data/ftp/ftp.kos.l
[2005-08-15 21:24:17] EROR stream/ices_instance_stream libshout error: Out of memory

[2005-08-15 21:24:17] DBUG input/input_loop An instance died, removing it
[2005-08-15 21:24:17] DBUG input/input_flush_queue Input queue flush requested
[2005-08-15 21:24:17] INFO input/input_loop All instances removed, shutting down...
[2005-08-15 21:24:17] INFO ices-core/main Shutdown complete


Error.log:
[2005-08-15 21:04:39] INFO main/main icecast server started
[2005-08-15 21:05:58] DBUG connection/_handle_get_request Client connected
[2005-08-15 21:18:20] DBUG connection/_handle_get_request Client connected
[2005-08-15 21:23:27] INFO main/main icecast server started
Back to top
Messenger
Guest





PostPosted: Tue Aug 16, 2005 11:18 am    Post subject: Reply with quote

Here is configs:
icecast.xml:
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>10240</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
</limits>

<authentication>
<!-- Sources log in with username 'source' -->
<source-password></source-password>
<!-- Relays log in username 'relay' -->
<relay-password></relay-password>

<!-- Admin logs in with the username given below -->
<admin-user>Messenger</admin-user>
<admin-password>dctlkzckfds</admin-password>
</authentication>

<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->

<hostname>radio.kos.loc</hostname>

<!-- You can use these two if you only want a single listener -->
<!--<port>8000</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->

<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<bind-address>200.100.100.107</bind-address>
</listen-socket>
<!--
<listen-socket>
<port>8001</port>
</listen-socket>
-->

<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->
<!--
<relay>
<server>127.0.0.1</server>
<port>8001</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount>

<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
-->

<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
<mount>
<mount-name>/example-complex.ogg</mount-name>

<username>othersource</username>
<password>hackmemore</password>

<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<fallback-mount>/example2.ogg</fallback-mount>
</mount>
-->

<fileserve>1</fileserve>
<paths>
<basedir>/usr/local/icecast2</basedir>
<logdir>/usr/local/icecast2/logs</logdir>
<webroot>/usr/local/icecast2/web</webroot>
<adminroot>/usr/local/icecast2/admin</adminroot>
<pidfile>/usr/local/icecast2/icecast.pid</pidfile>
</paths>

<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel>
</logging>

<security>
<chroot>0</chroot>
<changeowner>
<user>iceuser</user>
<group>iceuser</group>
</changeowner>
</security>

</icecast>


ices-playlist.xml:
<?xml version="1.0"?>
<ices>
<background>0</background>
<logpath>/usr/local/icecast2/logs</logpath>
<logfile>ices.log</logfile>
<loglevel>4</loglevel>
<consolelog>0</consolelog>
<pidfile>/usr/local/icecast2/ices.pid</pidfile>

<stream>
<metadata>
<name>Test Playlist</name>
<genre>playlist</genre>
<description>A test playlist</description>
</metadata>

<input>
<module>playlist</module>
<param name="type">basic</param>
<param name="file">playlist.txt</param>
<param name="random">0</param>
<param name="restart-after-reread">0</param>
<param name="once">0</param>
</input>

<instance>
<hostname>200.100.100.107</hostname>
<port>8000</port>
<password></password>
<mount>/playlist.ogg</mount>

<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<maxqueuelength>80</maxqueuelength>

<encode>
<nominal-bitrate>64000</nominal-bitrate>
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>

</stream>
</ices>
Back to top
Messenger
Guest





PostPosted: Tue Aug 16, 2005 11:20 am    Post subject: Reply with quote

OS: Linux From Scratch . kernel: 2.6.11
Compiler: gcc-3.4.3
Glibc: 3.4.3

I hope you can help me;)
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Aug 16, 2005 1:03 pm    Post subject: Reply with quote

Messenger wrote:
OS: Linux From Scratch . kernel: 2.6.11
Compiler: gcc-3.4.3
Glibc: 3.4.3

I hope you can help me;)


If this is repeatable then can you do

strace -o output.txt -f ices /usr/local/icecast2/conf/ices-playlist.xml

then send me the output.txt file

karl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Messenger
Guest





PostPosted: Wed Aug 17, 2005 2:32 am    Post subject: Reply with quote

In which package i can foun strace ?
Is it a part of gdb ?
(i don`t get it currently, but i install it)
Back to top
Messenger
Guest





PostPosted: Wed Aug 17, 2005 11:12 am    Post subject: Reply with quote

I don`t have your mail, so i can`t send it to you.
Here it is:
output.txt:

4198 execve("/usr/local/bin/ices", ["ices", "/usr/local/icecast2/conf/ices-pl"...], [/* 24 vars */]) = 0
4198 uname({sys="Linux", node="kos.loc", ...}) = 0
4198 brk(0) = 0x805b000
4198 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libvorbisenc.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libvorbisenc.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libvorbisenc.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libvorbisenc.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/etc/ld.so.cache", O_RDONLY) = 3
4198 fstat64(3, {st_mode=S_IFREG|0644, st_size=15754, ...}) = 0
4198 mmap2(NULL, 15754, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fe2000
4198 close(3) = 0
4198 open("/usr/lib/libvorbisenc.so.2", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\200\0"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=1054355, ...}) = 0
4198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe1000
4198 mmap2(NULL, 953156, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ef8000
4198 mmap2(0xb7f04000, 888832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb7f04000
4198 mmap2(0xb7fdd000, 15172, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fdd000
4198 close(3) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libshout.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libshout.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libshout.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libshout.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/local/lib/libshout.so.3", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0?\0\000"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=71091, ...}) = 0
4198 mmap2(NULL, 60976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ee9000
4198 mmap2(0xb7ef7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd) = 0xb7ef7000
4198 close(3) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libvorbis.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libvorbis.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libvorbis.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libvorbis.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/lib/libvorbis.so.0", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20*\0\000"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=174012, ...}) = 0
4198 mmap2(NULL, 162804, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ec1000
4198 mmap2(0xb7eda000, 61440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19) = 0xb7eda000
4198 close(3) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libxml2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libxml2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libxml2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libxml2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/lib/libxml2.so.2", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\223"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=1609321, ...}) = 0
4198 mmap2(NULL, 1443828, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d60000
4198 mmap2(0xb7eb0000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x150) = 0xb7eb0000
4198 mmap2(0xb7eb8000, 34804, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eb8000
4198 close(3) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/lib/libz.so.1", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\36"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=74710, ...}) = 0
4198 mmap2(NULL, 72656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d4e000
4198 mmap2(0xb7d5f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10) = 0xb7d5f000
4198 close(3) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/lib/libpthread.so.0", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240H\0"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=92311, ...}) = 0
4198 mmap2(NULL, 74200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d3b000
4198 mmap2(0xb7d4a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xb7d4a000
4198 mmap2(0xb7d4c000, 4568, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d4c000
4198 close(3) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/lib/libm.so.6", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`3\0\000"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=168765, ...}) = 0
4198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d3a000
4198 mmap2(NULL, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d17000
4198 mmap2(0xb7d38000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20) = 0xb7d38000
4198 close(3) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/lib/libc.so.6", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340N\1"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=1415510, ...}) = 0
4198 mmap2(NULL, 1215644, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7bee000
4198 mmap2(0xb7d11000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x122) = 0xb7d11000
4198 mmap2(0xb7d15000, 7324, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d15000
4198 close(3) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libogg.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libogg.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libogg.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libogg.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/lib/libogg.so.0", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\22\0\000"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=20175, ...}) = 0
4198 mmap2(NULL, 19272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7be9000
4198 mmap2(0xb7bed000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb7bed000
4198 close(3) = 0
4198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7be8000
4198 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7be89c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
4198 mprotect(0xb7d11000, 4096, PROT_READ) = 0
4198 mprotect(0xb7d4e000, 69632, PROT_READ|PROT_WRITE) = 0
4198 mprotect(0xb7d4e000, 69632, PROT_READ|PROT_EXEC) = 0
4198 munmap(0xb7fe2000, 15754) = 0
4198 set_tid_address(0xb7be8a08) = 4198
4198 rt_sigaction(SIGRTMIN, {0xb7d3f3f0, [], SA_SIGINFO}, NULL, Cool = 0
4198 rt_sigaction(SIGRT_1, {0xb7d3f470, [], SA_RESTART|SA_SIGINFO}, NULL, Cool = 0
4198 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, Cool = 0
4198 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
4198 _sysctl({{CTL_KERN, KERN_VERSION, 0, 20859, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 2, 0xbffff73c, 33, (nil), 0}) = 0
4198 brk(0) = 0x805b000
4198 brk(0x807c000) = 0x807c000
4198 futex(0xb7ec0660, FUTEX_WAKE, 2147483647) = 0
4198 time(NULL) = 1124277029
4198 stat64("/usr/local/icecast2/conf/ices-playlist.xml", {st_mode=S_IFREG|0644, st_size=1300, ...}) = 0
4198 stat64("/usr/local/icecast2/conf/ices-playlist.xml", {st_mode=S_IFREG|0644, st_size=1300, ...}) = 0
4198 stat64("/usr/local/icecast2/conf/ices-playlist.xml", {st_mode=S_IFREG|0644, st_size=1300, ...}) = 0
4198 open("/usr/local/icecast2/conf/ices-playlist.xml", O_RDONLY) = 3
4198 fstat64(3, {st_mode=S_IFREG|0644, st_size=1300, ...}) = 0
4198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe5000
4198 read(3, "<?xml version=\"1.0\"?>\n<ices>\n "..., 16384) = 1300
4198 read(3, "", 12288) = 0
4198 _llseek(3, 0, [1300], SEEK_CUR) = 0
4198 _llseek(3, 0, [0], SEEK_SET) = 0
4198 read(3, "<?xml version=\"1.0\"?>\n<ices>\n "..., 4096) = 1300
4198 read(3, "", 4096) = 0
4198 read(3, "", 4096) = 0
4198 close(3) = 0
4198 munmap(0xb7fe5000, 4096) = 0
4198 time(NULL) = 1124277029
4198 rt_sigprocmask(SIG_UNBLOCK, [HUP INT PIPE TERM CHLD], NULL, Cool = 0
4198 gettimeofday({1124277029, 902896}, NULL) = 0
4198 open("/etc/resolv.conf", O_RDONLY) = 3
4198 fstat64(3, {st_mode=S_IFREG|0644, st_size=27, ...}) = 0
4198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe5000
4198 read(3, "nameserver 200.100.100.107\n", 4096) = 27
4198 read(3, "", 4096) = 0
4198 close(3) = 0
4198 munmap(0xb7fe5000, 4096) = 0
4198 uname({sys="Linux", node="kos.loc", ...}) = 0
4198 open("/etc/nsswitch.conf", O_RDONLY) = 3
4198 fstat64(3, {st_mode=S_IFREG|0644, st_size=188, ...}) = 0
4198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe5000
4198 read(3, "# Begin /etc/nsswitch.conf\n\npass"..., 4096) = 188
4198 read(3, "", 4096) = 0
4198 close(3) = 0
4198 munmap(0xb7fe5000, 4096) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/etc/ld.so.cache", O_RDONLY) = 3
4198 fstat64(3, {st_mode=S_IFREG|0644, st_size=15754, ...}) = 0
4198 mmap2(NULL, 15754, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fe2000
4198 close(3) = 0
4198 open("/lib/libnss_files.so.2", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\33\0\000"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=45361, ...}) = 0
4198 mmap2(NULL, 41612, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7bdd000
4198 mmap2(0xb7be6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0xb7be6000
4198 close(3) = 0
4198 munmap(0xb7fe2000, 15754) = 0
4198 open("/etc/hosts", O_RDONLY) = 3
4198 fcntl64(3, F_GETFD) = 0
4198 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
4198 fstat64(3, {st_mode=S_IFREG|0644, st_size=141, ...}) = 0
4198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe5000
4198 _llseek(3, 0, [0], SEEK_CUR) = 0
4198 rt_sigaction(SIGHUP, {0x804e660, [HUP], SA_RESTART}, {SIG_DFL}, Cool = 0
4198 rt_sigaction(SIGINT, {0x804e6f0, [INT], SA_RESTART}, {SIG_DFL}, Cool = 0
4198 rt_sigaction(SIGUSR1, {0x804e5e0, [USR1], SA_RESTART}, {SIG_DFL}, Cool = 0
4198 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, Cool = 0
4198 open("/usr/local/icecast2/logs/ices.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
4198 fstat64(4, {st_mode=S_IFREG|0644, st_size=1598, ...}) = 0
4198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe4000
4198 fstat64(4, {st_mode=S_IFREG|0644, st_size=1598, ...}) = 0
4198 _llseek(4, 1598, [1598], SEEK_SET) = 0
4198 stat64("/usr/local/icecast2/logs/ices.log", {st_mode=S_IFREG|0644, st_size=1598, ...}) = 0
4198 time(NULL) = 1124277029
4198 open("/etc/localtime", O_RDONLY) = 5
4198 fstat64(5, {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4198 fstat64(5, {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe3000
4198 read(5, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\t\0\0\0\t\0"..., 4096) = 721
4198 close(5) = 0
4198 munmap(0xb7fe3000, 4096) = 0
4198 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4198 write(4, "[2005-08-17 18:10:29] INFO ices"..., 65) = 65
4198 open("/usr/local/icecast2/ices.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
4198 fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
4198 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe3000
4198 write(5, "4198", 4) = 4
4198 close(5) = 0
4198 munmap(0xb7fe3000, 4096) = 0
4198 time(NULL) = 1124277029
4198 mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73dc000
4198 mprotect(0xb73dc000, 4096, PROT_NONE) = 0
4198 clone(child_stack=0xb7bdc4e4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0xb7bdcbf8, {entry_number:6, base_addr:0xb7bdcbb0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb7bdcbf8) = 4199
4198 time(NULL) = 1124277029
4198 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4198 write(4, "[2005-08-17 18:10:29] INFO sign"..., 82) = 82
4198 rt_sigaction(SIGUSR1, {0x804e5e0, [USR1], SA_RESTART}, {0x804e5e0, [USR1], SA_RESTART}, Cool = 0
4198 gettimeofday({1124277029, 910249}, NULL) = 0
4198 stat64("playlist.txt", 0xbfffe3bc) = -1 ENOENT (No such file or directory)
4198 time(NULL) = 1124277029
4198 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4198 write(4, "[2005-08-17 18:10:29] EROR play"..., 137) = 137
4198 time(NULL) = 1124277029
4198 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4198 write(4, "[2005-08-17 18:10:29] INFO play"..., 104) = 104
4198 select(1, NULL, NULL, NULL, {0, 250000} <unfinished ...>
4199 rt_sigprocmask(SIG_BLOCK, ~[BUS KILL SEGV STOP RTMIN RT_1], NULL, Cool = 0
4199 rt_sigaction(SIGPIPE, {0x804e660, [PIPE], SA_RESTART}, {SIG_IGN}, Cool = 0
4199 time(NULL) = 1124277029
4199 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4199 write(4, "[2005-08-17 18:10:29] EROR stre"..., 86) = 86
4199 write(4, "\n", 1) = 1
4199 _exit(0) = ?
4198 <... select resumed> ) = 0 (Timeout)
4198 time(NULL) = 1124277030
4198 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4198 write(4, "[2005-08-17 18:10:30] DBUG inpu"..., 75) = 75
4198 time(NULL) = 1124277030
4198 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4198 write(4, "[2005-08-17 18:10:30] DBUG inpu"..., 80) = 80
4198 time(NULL) = 1124277030
4198 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4198 write(4, "[2005-08-17 18:10:30] INFO inpu"..., 85) = 85
4198 select(1, NULL, NULL, NULL, {0, 250000}) = 0 (Timeout)
4198 unlink("/usr/local/icecast2/ices.pid") = 0
4198 time(NULL) = 1124277030
4198 stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=721, ...}) = 0
4198 write(4, "[2005-08-17 18:10:30] INFO ices"..., 61) = 61
4198 close(4) = 0
4198 munmap(0xb7fe4000, 4096) = 0
4198 close(3) = 0
4198 munmap(0xb7fe5000, 4096) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libnss_dns.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/etc/ld.so.cache", O_RDONLY) = 3
4198 fstat64(3, {st_mode=S_IFREG|0644, st_size=15754, ...}) = 0
4198 mmap2(NULL, 15754, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fe2000
4198 close(3) = 0
4198 open("/lib/libnss_dns.so.2", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\r\0"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=20964, ...}) = 0
4198 mmap2(NULL, 20616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb73d6000
4198 mmap2(0xb73da000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb73da000
4198 close(3) = 0
4198 open("/usr/java/j2re1.4.2_01/lib/tls/i686/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/tls/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/i686/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/usr/java/j2re1.4.2_01/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
4198 open("/lib/libresolv.so.2", O_RDONLY) = 3
4198 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 $\0\000"..., 512) = 512
4198 fstat64(3, {st_mode=S_IFREG|0755, st_size=77128, ...}) = 0
4198 mmap2(NULL, 75944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb73c3000
4198 mmap2(0xb73d2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0xb73d2000
4198 mmap2(0xb73d4000, 6312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb73d4000
4198 close(3) = 0
4198 munmap(0xb7fe2000, 15754) = 0
4198 exit_group(0) = ?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Aug 17, 2005 1:14 pm    Post subject: Reply with quote

you should be able to pm me, also I guess the strace was run without the -f as none of the created threads were shown, however the interesting entry is

4198 stat64("playlist.txt", 0xbfffe3bc) = -1 ENOENT (No such file or directory)

which doesn't match up with the log file shown previously, as that was showing entries bing read, but here indicates that the playlist file doesn't exist. Can you verify its existence first.

karl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Wed Aug 17, 2005 4:06 pm    Post subject: Reply with quote

Sorry for that mistake.
I send you strace -o output.txt ices /usr/local/icecast2/conf/ices-playlist.xml
Now i check that plailist.txt is exist.
/mnt/data/ftp/ftp.kos.loc/pub/Music/Power/Nightwish/Century Child/Beauty of the beast.ogg are exist too.
Back to top
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Icecast Streaming Media Server Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber