| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Tue Apr 03, 2007 5:49 am Post subject: Trouble with sources getting dropped |
|
|
Having trouble with sources getting dropped for seemingly no reason, which in turn, of course, drops the listeners. Here's an exerpt from what I am seeing in the error.log:
<snip>
[2007-04-02 23:30:09] INFO source/source_main listener count on /truth103_high.mp3 now 1
[2007-04-02 23:30:38] INFO connection/_handle_source_request Source logging in at mountpoint "/truth103_low.mp3"
[2007-04-02 23:30:38] WARN connection/_handle_source_request Mountpoint /truth103_low.mp3 in use
[2007-04-02 23:31:53] INFO connection/_handle_source_request Source logging in at mountpoint "/truth103_low.mp3"
[2007-04-02 23:31:53] WARN connection/_handle_source_request Mountpoint /truth103_low.mp3 in use
[2007-04-02 23:33:08] INFO connection/_handle_source_request Source logging in at mountpoint "/truth103_low.mp3"
[2007-04-02 23:33:08] WARN connection/_handle_source_request Mountpoint /truth103_low.mp3 in use
[2007-04-02 23:34:23] INFO connection/_handle_source_request Source logging in at mountpoint "/truth103_low.mp3"
[2007-04-02 23:34:23] WARN connection/_handle_source_request Mountpoint /truth103_low.mp3 in use
[2007-04-02 23:35:38] INFO connection/_handle_source_request Source logging in at mountpoint "/truth103_low.mp3"
[2007-04-02 23:35:38] WARN connection/_handle_source_request Mountpoint /truth103_low.mp3 in use
[2007-04-02 23:35:53] INFO connection/_handle_source_request Source logging in at mountpoint "/truth103_low.mp3"
[2007-04-02 23:35:53] WARN connection/_handle_source_request Mountpoint /truth103_low.mp3 in use
[2007-04-02 23:35:59] WARN source/get_next_buffer Disconnecting source due to socket timeout
[2007-04-02 23:35:59] INFO source/source_shutdown Source "/truth103_low.mp3" exiting
[2007-04-02 23:35:59] WARN source/get_next_buffer Disconnecting source due to socket timeout
[2007-04-02 23:35:59] INFO source/source_shutdown Source "/truth103_high.mp3" exiting
</snip>
The source then reconnects about 15 seconds later when the encoder (SimpleCast) retries. It will stay connected for about 5-10 minutes, and then this whole thing starts over again.
I'm confused, because while I realize it looks like the source client is falling behind and Icecast is simply terminating the connection due to timeout, I don't understand why it is generating "mount point is in use" errors.
The system is running Novell Suse 10.1 out of the box, Apache is disabled and Icecast is answering on port 80. The machine is a dual-xeon 2.4GHz box with 4GB of RAM and a 3ware RAID 1 on a pair of 300GB drives. Bandwidth (shouldn't) be an issue, as the box is located at a co-location facility with a full 100mbps pipe run to it.
Ideas? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Apr 03, 2007 1:25 pm Post subject: |
|
|
The 'in use' messages are because something is already connected using that mountpoint. Icecast does not allow multiple source client connections to the same mountpoint.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Apr 03, 2007 3:08 pm Post subject: |
|
|
| Quote: |
The 'in use' messages are because something is already connected using that mountpoint. Icecast does not allow multiple source client connections to the same mountpoint.
|
Right, I understand that, but my question is what? It seems like the encoder is losing connection with Icecast, and trying to reconnect, but can't, and eventually the server dumps the source because it can't reconnect. I'm confused as to why this is happening, as the same version of icecast connects to another Icecast server with no problems, so it doesn't seem like it's a encoder problem, but rather something wrong with Icecast. I'm running v2.3.1 by the way...
Could this be a problem with ulimit or something OS-wise that is causing the connection from the encoder to become disconnected? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Apr 03, 2007 4:40 pm Post subject: |
|
|
I can't comment on the exact issue as there's little info to go on, you don't have level 4 data and you haven't shown what data is on the NIC or what is logged on the access log.
One encoder (with mountpoint /truth103_low.mp3) disconnects at 23:35:59 (it's unknown when it initially connected), the second encoder is just getting rejected because of the mountpoint clash. This behaviour is normal. The source timeout (assuming it's 10 secs) is the thing you need to investigate. That indicates that either your source client is stalling or data is not getting to icecast, either way, 10 seconds is a very large amount of time for icecast to not receive any stream data.
karl. |
|
| Back to top |
|
 |
|
|
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
|