[Icecast] Client has fallen behind

Karl Heyes karl at xiph.org
Thu Mar 17 14:38:45 UTC 2005


On Wed, 2005-03-16 at 21:58, Jesper Weiland wrote:
> Hi Guys,
> 
> I have a lot of streaming running with Icecast (Icecast 2.1-kh5) and 
> they work fine on (for example) winamp. The fact is that we have many
> listeners tuning in with mp3-web-radio's on slow connections. Some of 
> the streams connect only once in a few time. They connect and disconnect
> after sending 8k.

first off, kh6 has been out for a while now.

> The error is:
> 
> [2005-03-16  11:20:07] DBUG source/send_to_listener Client has fallen 
> too far behind, removing
> 
> I don't think it has fallen behind, because it didn't really send data 
> yet. What can be wrong? I use the KH5 version because of the Intro feature.

There are various causes for this and it's hard/impossible for icecast
to determine exactly why.  Make sure the queue (queue-size) is big
enough for large lags, and make sure that the icecast to listener
connection can maintain the stream bitrate, watch for large latency
(ping) times (slow response time can really knock down bitrate)

> My Config:
> 
> <icecast>
>      <limits>
>          <clients>1000000</clients>
>          <sources>1000000</sources>

that's a lot of streams.

karl





More information about the Icecast mailing list