sci-fi@hush.ai
2005-Dec-31 00:51 UTC
[Icecast-dev] can't access admin webpages with N-1 listeners active
Hi, Stumbled into a problem with icecast-2.3.1 (a recent daily svn snapshot). We have 6 spec'd in the xml for the (one and only) mountpt's <mount/max-listeners>. The <limit/clients> near the top of the xml is also set to 6 (as seen on the sample xml dists). When we get up to N-1 listeners, we cannot access the admin webpages from localhost or anywhere-else-host. Here's the snip from our icecast's error.log: [...] [2005-12-31 02:21:48] INFO source/source_main listener count on / now 5 [2005-12-31 02:23:46] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:23:55] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:24:17] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:24:49] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:24:57] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:25:03] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:25:31] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:25:40] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:25:49] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:25:55] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:25:55] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:28:03] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:28:11] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:28:11] WARN client/client_create server client limit reached (6/7) [2005-12-31 02:30:14] INFO source/source_main listener count on / now 4 [...] See? After the listener count gets up to 5 (which equals N-1 (6-1) in our case), we can't see what is going on. When the (N-1)th listener drops off (back to 4 in our case), we _can_ finally reach the admin pages. Icecast2 seems to have no provisions for "reserved IP addys" such as there is for sc_serv; I always make sc_serv read a file with 127.0.0.1 in it "just in cases like this". Y'all dig? :) Might there be a fix for this somehow, please? Should we set a higher <limit/clients> at the top of the xml? (Changing that would require a kill, too, wouldn't it) Thank you. Concerned about your privacy? Instantly send FREE secure email, no account required http://www.hushmail.com/send?l=480 Get the best prices on SSL certificates from Hushmail https://www.hushssl.com?l=485
Karl Heyes
2005-Dec-31 05:08 UTC
[Icecast-dev] can't access admin webpages with N-1 listeners active
sci-fi@hush.ai wrote:> Hi, > > Stumbled into a problem with icecast-2.3.1 (a recent > daily svn snapshot). > > We have 6 spec'd in the xml for the (one and only) > mountpt's <mount/max-listeners>. The <limit/clients> > near the top of the xml is also set to 6 (as seen on the > sample xml dists). > > When we get up to N-1 listeners, we cannot access the > admin webpages from localhost or anywhere-else-host.the <clients> setting is there to limit the number of clients, whatever they are, it's not meant as a limiter for listeners (that's the role of <max-listeners) but I am wondering whether admin requests could avoid the check especially if say SSL sockets are used.> Icecast2 seems to have no provisions for "reserved IP > addys" such as there is for sc_serv; I always make > sc_serv read a file with 127.0.0.1 in it "just in cases > like this". > > Y'all dig? :) Might there be a fix for this somehow, > please? Should we set a higher <limit/clients> at the > top of the xml? (Changing that would require a kill, > too, wouldn't it)a HUP will be sufficient for that change to take effect. karl.