[Icecast] how can I identify disconnect due to low <queue-size>

Karl Heyes karl at xiph.org
Sun Mar 6 02:36:36 UTC 2005


On Sat, 2005-03-05 at 23:52, Mihail Egorov wrote:
> 1. How can I identify disconnect due to low <queue-size>. Suppose, I have
> enabled loglevel=4 (debug). Suppose, I have network jam. What shall I see at
> error.log?

There is a log message that signifies the removal of a listener for
being too slow and that is 
"Client has fallen too far behind, removing"

It currently appears at debug level (4) 

> 2. Is it possible to mark reason of disconnect at standard access/error log
> at level 2 (warn)?

not in the access.log. If you don't get the above message then it will
probably be because the listener closed the connection. The only other
ways are an explicit kill, via the admin interface, or a shutdown of the
source or server.

> That is, when disconnect is FORCED by server, this will be marked at level 2
> (warn) or may be even 1(error).

I could see a reason for logging at the info level, but you generally
don't want such reporting at warn or error as it is unlikely that you
can do much about it, the usual cause being a saturated link.  This sort
of thing is best left for the stats.

karl.





More information about the Icecast mailing list