Douglas
Joined: 23 Sep 2008 Posts: 7
|
Posted: Wed Dec 17, 2008 10:35 pm Post subject: relay dropped many mountpoints to origin server |
|
|
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>
|
|
|