webmaster at berean-biblechurch.org
2020-Mar-26 01:24 UTC
[Icecast] making sense of the stats
I can't make sense of the connection stats on the admin page. We have one source and one mountpoint. What is the difference between _client_connections_ and _clients_ and _connection_s? How can they be so different in value? Same questions for _listener_connections_ and _listeners_? The connections values seem high for only 5 listeners and one admin. Here is a snapshot of the admin page a few minutes after the server was started and mountpoint was made available: client_connections 18 clients 7 connections 24 file_connections 0 listener_connections 17 listeners 5 source_client_connections 1 source_relay_connections 0 source_total_connections 1 sources 1 stats 0 stats_connections 0 Mountpoint /live.mp3 listener_peak 6 listeners 5 max_listeners unlimited After more people started to connect, the admin #s got even more whacky. Then, I have the max clients set to 25, yet the mountpoint says 'unlimited' listeners. Why the difference here? Aren't listeners also clients? <limits> <clients>25</clients> <sources>1</sources> Thanks, Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20200325/651fd046/attachment.html>
Hi Justin, /* Aren't listeners also clients?*/ No. Icecast xml is a bit daunting. There are two kinds of connections. Listener and Client Client:... Connections from your source which may be darkice, BUTT, or some other encoder. You actually need plenty of these. I set mine to 20 when I have 4 services. One client may have several connections. I assume there is some handshaking and there may be metadata as well. Listener:... Connections from anyone using the mount address which may be a listener or a relay. The same listener can connect more than once. The reconnect may be because of a gap the listener does not know about because of the buffer, or store o audio waiting to be played. On ADSL I limit this number to 5 and on Fibre I limit this to 10. Your ISP will choke the upload bandwidth especially mp3. I use AAC+ which has a smaller data size for the same quality, it's also not on the choke list. If you plan on having more listeners than 5 or so then you need a Streaming Service who may take your stream and feed it to 100,200 or some larger number of listeners for $xx.95 a month. Most of these are mp3 only. hope this helps regards Robert On 26/03/20 2:24 pm, webmaster at berean-biblechurch.org wrote:> > I can't make sense of the connection stats on the admin page. We have > one source and one mountpoint. > > What is the difference between /client_connections/ and /clients/ and > /connection/s? How can they be so different in value? Same questions > for /listener_connections/ and /listeners/? The connections values > seem high for only 5 listeners and one admin. > > Here is a snapshot of the admin page a few minutes after the server > was started and mountpoint was made available: > > client_connections > 18 > > clients > 7 > > connections > 24 > > file_connections > 0 > > listener_connections > 17 > > listeners > 5 > > source_client_connections > 1 > > source_relay_connections > 0 > > source_total_connections > 1 > > sources > 1 > > stats > 0 > > stats_connections > 0 > > Mountpoint /live.mp3 > listener_peak > 6 > > listeners > 5 > > max_listeners > unlimited > > After more people started to connect, the admin #s got even more whacky. > > Then, I have the max clients set to 25, yet the mountpoint says > 'unlimited' listeners. Why the difference here? Aren't listeners > also clients? > > <limits> > <clients>25</clients> > <sources>1</sources> > > > Thanks, > Justin > > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast-- Communication Consultants 2020 Limited 64 Warner Park Avenue Laingholm Auckland 0604 New Zealand -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20200326/e4698a15/attachment.html>
webmaster at berean-biblechurch.org
2020-Mar-27 01:55 UTC
[Icecast] making sense of the stats
Hi, Robert. I appreciate the explanation. Indeed, the terminology is not consistent or intuitive. So by your "4 services" you mean _sources_? If clients are source connections (one and the same?), then how do we reconcile limits for both clients and sources? Is it like saying, 'for all of the X sources, they can have a total of Y connections'? How can I set limits on the number of _listeners_? And this limit would be different than a limit on the number of _listener connections_"? On 2020-03-26 00:18, Robert Jeffares wrote:> Hi Justin, > > _ AREN'T LISTENERS ALSO CLIENTS?_ > > No. > > Icecast xml is a bit daunting. > > There are two kinds of connections. > > Listener and Client > > Client:... > > Connections from your source which may be darkice, BUTT, or some other encoder. > > You actually need plenty of these. I set mine to 20 when I have 4 services. > > One client may have several connections. I assume there is some handshaking and there may be metadata as well. > > Listener:... > > Connections from anyone using the mount address which may be a listener or a relay. > > The same listener can connect more than once. The reconnect may be because of a gap the listener does not know about because of the buffer, or store o audio waiting to be played. > > On ADSL I limit this number to 5 and on Fibre I limit this to 10. Your ISP will choke the upload bandwidth especially mp3. I use AAC+ which has a smaller data size for the same quality, it's also not on the choke list. > > If you plan on having more listeners than 5 or so then you need a Streaming Service who may take your stream and feed it to 100,200 or some larger number of listeners for $xx.95 a month. Most of these are mp3 only. > > hope this helps > > regards > > Robert > > On 26/03/20 2:24 pm, webmaster at berean-biblechurch.org wrote: > >> I can't make sense of the connection stats on the admin page. We have one source and one mountpoint. >> >> What is the difference between _client_connections_ and _clients_ and _connection_s? How can they be so different in value? Same questions for _listener_connections_ and _listeners_? The connections values seem high for only 5 listeners and one admin. >> >> Here is a snapshot of the admin page a few minutes after the server was started and mountpoint was made available: >> >> client_connections >> 18 >> >> clients >> 7 >> >> connections >> 24 >> >> file_connections >> 0 >> >> listener_connections >> 17 >> >> listeners >> 5 >> >> source_client_connections >> 1 >> >> source_relay_connections >> 0 >> >> source_total_connections >> 1 >> >> sources >> 1 >> >> stats >> 0 >> >> stats_connections >> 0 >> >> Mountpoint /live.mp3 >> listener_peak >> 6 >> >> listeners >> 5 >> >> max_listeners >> unlimited >> >> After more people started to connect, the admin #s got even more whacky. >> >> Then, I have the max clients set to 25, yet the mountpoint says 'unlimited' listeners. Why the difference here? Aren't listeners also clients? >> >> <limits> >> <clients>25</clients> >> <sources>1</sources> >> >> Thanks, >> Justin >> >> _______________________________________________ >> Icecast mailing list >> Icecast at xiph.org >> http://lists.xiph.org/mailman/listinfo/icecast > > -- > Communication Consultants 2020 Limited > 64 Warner Park Avenue > Laingholm > Auckland 0604 > New Zealand > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/icecast/attachments/20200326/3511b6d6/attachment.html>