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 

relay dropped many mountpoints to origin server

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



Joined: 23 Sep 2008
Posts: 7

PostPosted: Wed Dec 17, 2008 10:35 pm    Post subject: relay dropped many mountpoints to origin server Reply with quote

Hi.

I have a setup where an origin server is fed by over 100 remote source clients (ices). Listeners then connect to a server (stream1, stream2). The stream server to origin connection happens over gigabit lan.

What has happened is that one server lost about 20 mountpoints, while the other server did not. This happens once in a while, but I do not know how to reproduce it.

All machines are running Icecast 2.3.2-kh1.

Here is a line from the log files. (There are many more of these, for each dropped mount point)

Code:
stream2:
[2008-12-16  11:01:56] EROR slave/open_relay_connection Header read failed for /BILO-44k.ogg (12.34.56.78:80/admin/streams?mount=/BILO-44k.ogg).

origin server:
[2008-12-16  11:01:57] INFO source/process_listeners listener count on /BILO-44k.ogg now 1


So one server didn't lose any connections to the origin server. We lost about 20 mounts but kept about 80, and it only happened on the one server. I restarted icecast about 10 minutes later as they were not automatically reconnecting.

Germane parts of icecast config:

Code:

<icecast>
    <limits>
        <clients>1000000</clients>
        <sources>1000000</sources>
        <queue-size>102400</queue-size>
        <client-timeout>10</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>60</source-timeout>
        <!-- same as burst-on-connect, but this allows for being more
             specific on how much to burst. Most people won't need to
             change from the default 64k. Applies to all mountpoints  -->
        <burst-size>65536</burst-size>
    </limits>

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

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>hackme</admin-password>
    </authentication>
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Dec 18, 2008 4:59 am    Post subject: Reply with quote

The "Header read failed" indicates that the headers were not correct but the fact that one slave didn't retry would tend to indicate something else like a memory corruption in the slave icecast. You could try updating to kh6 although you may want to hold off a couple of days until I get kh7 out properly.

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