tzara
2012-Aug-27 10:47 UTC
[Icecast] EROR connection/wait_for_serversock signalfd descriptor became invalid
hello, I am tying to get to the bottom of why my icecast server crashed and failed to restart. The last entry in the error log is this: [2012-08-26 05:46:38] INFO source/source_read listener count on /stream now 7 [2012-08-26 05:48:02] INFO connection/wait_for_serversock HUP received, reread scheduled [2012-08-26 05:48:02] INFO connection/connection_thread connection thread finished [2012-08-26 05:48:02] EROR connection/wait_for_serversock signalfd descriptor became invalid, doing thread restart i am running a debian wheezy vm with multimedia repos enabled: root at stream:~# uname -a Linux stream 2.6.32-13-pve #1 SMP Mon Jul 9 08:39:20 CEST 2012 i686 GNU/Linux root at stream:~# icecast2 -v Icecast 2.3.3-kh2 googling only resulted in the source code of the error: http://svn.xiph.org/icecast/branches/kh/icecast/src/connection.c <snip> if (ufds[i].revents & (POLLNVAL|POLLERR)) { ERROR0 ("signalfd descriptor became invalid, doing thread restart"); slave_restart(); // something odd happened } </snip> any ideas what my be the cause of my problems? thanks rob
Michael Smith
2012-Aug-27 17:19 UTC
[Icecast] EROR connection/wait_for_serversock signalfd descriptor became invalid
Hi Rob, You're not using icecast; you're using the "KH" icecast fork. This is a considerably different codebase. Mostly, it adds a few features, and is less well tested/less stable.
tzara
2012-Aug-27 22:52 UTC
[Icecast] EROR connection/wait_for_serversock signalfd descriptor became invalid
On 27/08/12 18:19, Michael Smith wrote:> Hi Rob, > > You're not using icecast; you're using the "KH" icecast fork. This is > a considerably different codebase. Mostly, it adds a few features, and > is less well tested/less stable. > > From the code you quoted, this is clearly a hacky workaround for a > bug. I would recommend upgrading to the latest release of standard > icecast.yes good plan! I moved to the main branch. Thanks for pointing this out, hopefully things will go back to normal now :) thanks rob root at stream:~# apt-cache policy icecast2 icecast2: Installed: 1:2.3.3kh2-dmo1 Candidate: 1:2.3.3kh2-dmo1 Version table: *** 1:2.3.3kh2-dmo1 0 500 http://www.debian-multimedia.org/ wheezy/main i386 Packages 100 /var/lib/dpkg/status 2.3.2-9 0 500 http://ftp.debian.org/debian/ wheezy/main i386 Packages apt-get install icecast2=2.3.2-9> > Mike > > > On Mon, Aug 27, 2012 at 3:47 AM, tzara<rc-lists at kiben.net> wrote: >> hello, >> >> I am tying to get to the bottom of why my icecast server crashed and >> failed to restart. >> The last entry in the error log is this: >> >> [2012-08-26 05:46:38] INFO source/source_read listener count on >> /stream now 7 >> [2012-08-26 05:48:02] INFO connection/wait_for_serversock HUP >> received, reread scheduled >> [2012-08-26 05:48:02] INFO connection/connection_thread connection >> thread finished >> [2012-08-26 05:48:02] EROR connection/wait_for_serversock signalfd >> descriptor became invalid, doing thread restart >> >> i am running a debian wheezy vm with multimedia repos enabled: >> >> root at stream:~# uname -a >> Linux stream 2.6.32-13-pve #1 SMP Mon Jul 9 08:39:20 CEST 2012 i686 >> GNU/Linux >> root at stream:~# icecast2 -v >> Icecast 2.3.3-kh2 >> >> googling only resulted in the source code of the error: >> http://svn.xiph.org/icecast/branches/kh/icecast/src/connection.c >> >> <snip> >> if (ufds[i].revents& (POLLNVAL|POLLERR)) >> { >> ERROR0 ("signalfd descriptor became invalid, doing thread >> restart"); >> slave_restart(); // something odd happened >> } >> </snip> >> >> any ideas what my be the cause of my problems? >> >> thanks >> >> rob >> >> >> _______________________________________________ >> Icecast mailing list >> Icecast at xiph.org >> http://lists.xiph.org/mailman/listinfo/icecast >