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 

Icecast on FreeBSD

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Mon Jan 28, 2008 11:41 am    Post subject: Icecast on FreeBSD Reply with quote

Hello, Karl.
I'm reporting a new problem to you.

Icecast 2.3.1-trunc_20080122
on FreeBSD 6.2

Server is operate for up to 1000 on-line clients.
After some time, Icecast stop responding (for browser and for streaming).
When I use command "netstat -na", I see too much lines like:
tcp4 0 0 X.X.X.X.80 X.X.X.X.50332 CLOSE_WAIT

When I use command "sockstat", I see so that connections created by icecast-server:
nobody icecast 644 1035tcp4 X.X.X.X:80 X.X.X.X:50332

And I cant't restart Icecast by startup script:
/usr/local/etc/rc.d/icecast2 restart

Only full computer restart help for this.

But FreeBSD system is looks like good (SSH working, no other errors detected).

I hope, you fix that problem.
I'm ready to help what I can. Smile
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Jan 28, 2008 4:30 pm    Post subject: Reply with quote

That sounds like a hang of one of the threads. Which one is hard to say but if it is blocking on something then sockets may not be freed and a normal shutdown may not work (although a kill -9 should be ok).

The best thing you can do is build the latest tarball/svn codebase, build icecast withe make debug, setup the environment so that a core file can be produced (kill -SEGV can be used to check that) by removing any use of chroot/chown, running the server as you have done and when it fails again do a kill -SEGV to get the core file. Then send me the backtrace from that core file.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server 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