Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Directory listings
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
BillGoldsmith



Joined: 24 Aug 2010
Posts: 9
Location: Paradise, CA

PostPosted: Mon Sep 16, 2013 9:34 pm    Post subject: Reply with quote

karlH wrote:
You are right that the HUP is required to reload the xml, but the streams need to be restarted to update the listen url (should be visible on the admin stats). Only the add method on the YP is known to accept that data so disconnecting the stream is the only way. Whether restarting the whole icecast is a simpler approach is up to you.

karl.

Gotcha. Thanks.
_________________
---
Bill Goldsmith
www.radioparadise.com
Back to top
View user's profile Send private message
BillGoldsmith



Joined: 24 Aug 2010
Posts: 9
Location: Paradise, CA

PostPosted: Sun Oct 13, 2013 7:18 pm    Post subject: Reply with quote

karlH wrote:
You are right that the HUP is required to reload the xml, but the streams need to be restarted to update the listen url (should be visible on the admin stats). Only the add method on the YP is known to accept that data so disconnecting the stream is the only way. Whether restarting the whole icecast is a simpler approach is up to you.

karl.


Finally got around to restarting the servers. I'm now seeing the correct listen url in the admin stats, but they're still not displaying correctly on the YP.

The 3 servers in question are:

stream-tx1.radioparadise.com
stream-tx4.radioparadise.com
stream-uk1.radioparadise.com

If you look at the public stats for those servers you'll see that they don't correlate with what's displayed on the YP. I'm no longer seeing any log errors.
_________________
---
Bill Goldsmith
www.radioparadise.com
Back to top
View user's profile Send private message
dm8tbr



Joined: 09 Feb 2013
Posts: 45
Location: icecast.org

PostPosted: Wed Oct 16, 2013 5:38 am    Post subject: Reply with quote

BillGoldsmith wrote:
Finally got around to restarting the servers. I'm now seeing the correct listen url in the admin stats, but they're still not displaying correctly on the YP.

The 3 servers in question are:

stream-tx1.radioparadise.com
stream-tx4.radioparadise.com
stream-uk1.radioparadise.com

If you look at the public stats for those servers you'll see that they don't correlate with what's displayed on the YP. I'm no longer seeing any log errors.

I see all 3 servers listing streams in the YP (I've checked directly in the database). What seems to be the problem?
Back to top
View user's profile Send private message Visit poster's website
BillGoldsmith



Joined: 24 Aug 2010
Posts: 9
Location: Paradise, CA

PostPosted: Wed Oct 16, 2013 11:59 am    Post subject: Reply with quote

dm8tbr wrote:
BillGoldsmith wrote:
Finally got around to restarting the servers. I'm now seeing the correct listen url in the admin stats, but they're still not displaying correctly on the YP.

The 3 servers in question are:

stream-tx1.radioparadise.com
stream-tx4.radioparadise.com
stream-uk1.radioparadise.com

If you look at the public stats for those servers you'll see that they don't correlate with what's displayed on the YP. I'm no longer seeing any log errors.

I see all 3 servers listing streams in the YP (I've checked directly in the database). What seems to be the problem?

If all 3 are correctly listing themselves in the YP database, then there's something wrong with how the streams are listed. If you look at the number of listeners for our various streams on the server status pages, you'll see that they don't match was listed in the directory at all.

For example, Our 96k Ogg Vorbis stream currently has over 1300 listeners, yet the YP listing shows 277 -- the correct number for one of the servers, not all 3 added together, as would be expected.
_________________
---
Bill Goldsmith
www.radioparadise.com
Back to top
View user's profile Send private message
dm8tbr



Joined: 09 Feb 2013
Posts: 45
Location: icecast.org

PostPosted: Wed Oct 16, 2013 1:56 pm    Post subject: Reply with quote

BillGoldsmith wrote:
dm8tbr wrote:
BillGoldsmith wrote:
Finally got around to restarting the servers. I'm now seeing the correct listen url in the admin stats, but they're still not displaying correctly on the YP.

The 3 servers in question are:

stream-tx1.radioparadise.com
stream-tx4.radioparadise.com
stream-uk1.radioparadise.com

If you look at the public stats for those servers you'll see that they don't correlate with what's displayed on the YP. I'm no longer seeing any log errors.

I see all 3 servers listing streams in the YP (I've checked directly in the database). What seems to be the problem?

If all 3 are correctly listing themselves in the YP database, then there's something wrong with how the streams are listed. If you look at the number of listeners for our various streams on the server status pages, you'll see that they don't match was listed in the directory at all.

For example, Our 96k Ogg Vorbis stream currently has over 1300 listeners, yet the YP listing shows 277 -- the correct number for one of the servers, not all 3 added together, as would be expected.


Ah, that's clustering code. I haven't looked at it in detail and suspect it will end up being a redesign/rewrite.
Nevertheless I'll have a quick look later today if there is anything obvious that I can do.
Back to top
View user's profile Send private message Visit poster's website
dm8tbr



Joined: 09 Feb 2013
Posts: 45
Location: icecast.org

PostPosted: Wed Oct 16, 2013 4:00 pm    Post subject: Reply with quote

The database says:

listen_url listeners
http://stream-uk1.radioparadise.com:80/ogg-96 184
http://stream-tx4.radioparadise.com:80/ogg-96 28
http://stream-tx4.radioparadise.com:80/ogg-96m 18
http://stream-uk1.radioparadise.com:80/ogg-96m 0
http://stream-tx1.radioparadise.com:80/ogg-96 22

The web interface claims:
Radio Paradise - DJ-mixed modern & classic rock, world, electronica & more [257 listeners]

For me that's a "close enough".

After manual inspection of the web interfaces it seems, that tx4 ogg-96 claims two things that don't match:

    - around 1400 listeners
    - mountpoint /ogg-96m


I'd recommend to raise the log-level and check the logs. It worries me that the server seems to claim two divergent things. Or are you running some 'hidden' server for relaying or other purposes on the same machine?
If it's a Icecast problem, then I'll have to hand over to Karl though, as those servers seem to run his flavor of Icecast: Icecast 2.3.3-kh9
Back to top
View user's profile Send private message Visit poster's website
BillGoldsmith



Joined: 24 Aug 2010
Posts: 9
Location: Paradise, CA

PostPosted: Wed Oct 16, 2013 4:29 pm    Post subject: Reply with quote

dm8tbr wrote:
The database says:

listen_url listeners
http://stream-uk1.radioparadise.com:80/ogg-96 184
http://stream-tx4.radioparadise.com:80/ogg-96 28
http://stream-tx4.radioparadise.com:80/ogg-96m 18
http://stream-uk1.radioparadise.com:80/ogg-96m 0
http://stream-tx1.radioparadise.com:80/ogg-96 22

The web interface claims:
Radio Paradise - DJ-mixed modern & classic rock, world, electronica & more [257 listeners]

For me that's a "close enough".

After manual inspection of the web interfaces it seems, that tx4 ogg-96 claims two things that don't match:

    - around 1400 listeners
    - mountpoint /ogg-96m


I'd recommend to raise the log-level and check the logs. It worries me that the server seems to claim two divergent things. Or are you running some 'hidden' server for relaying or other purposes on the same machine?
If it's a Icecast problem, then I'll have to hand over to Karl though, as those servers seem to run his flavor of Icecast: Icecast 2.3.3-kh9


I'll take a closer look at the logs when I get a chance. No hidden relays or anything, and the /ogg-96 stream on tx4 really does hit 1400-1500 listeners at peak. The /mp3-128 & /aac-128 relays will be hitting even higher than that now that I'm shifting all of our listener traffic from Shoutcast servers to Icecast. It'd be great to see that reflected in the YP listings.
_________________
---
Bill Goldsmith
www.radioparadise.com
Back to top
View user's profile Send private message
BillGoldsmith



Joined: 24 Aug 2010
Posts: 9
Location: Paradise, CA

PostPosted: Mon Feb 03, 2014 6:38 pm    Post subject: Reply with quote

It appears that YP listings are still not working correctly. All of my servers have <hostname> set correctly, and don't have reporting turned off.

Currently I have 4 active relays for my /ogg-96 mountpoint:

stream-tx3.radioparadise.com -- 840 listeners
stream-dc1.radioparadise.com -- 342
stream-tx4.radioparadise.com -- 301
stream-uk1.radioparadise.com -- 146

The YP shows 336 listeners, presumably just stream-dc1

Our 192k Ogg, AAC & MP3 streams are also greatly under-reported in the YP listing. It's not a big deal, but if there's some misconfiguration at my end that's causing it, I'd like to fix it.

Here are the actual totals at this moment:

aac-32: 153
aac-64: 933
aac-128: 2021
aac-320: 88
mp3-32: 334
mp3-128: 2470
mp3-192: 1146
ogg-32: 138
ogg-96: 1690
ogg-192: 520

(a minor percentage of teh AAC & MP3 totals are from legacy shoutcast servers, which obviously aren't reporting to the Icecast YP)
_________________
---
Bill Goldsmith
www.radioparadise.com
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Feb 04, 2014 4:11 am    Post subject: Reply with quote

are you sure tx3 is sending those details to the directory, I don't see it listed. Check the error log for that server. Maybe dc1 as well. The hostname looks ok, but there could be other reasons like YP not configured or the add keeps failing. just look for yp/ entries

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
BillGoldsmith



Joined: 24 Aug 2010
Posts: 9
Location: Paradise, CA

PostPosted: Wed Feb 05, 2014 3:33 am    Post subject: Reply with quote

karlH wrote:
are you sure tx3 is sending those details to the directory, I don't see it listed. Check the error log for that server. Maybe dc1 as well. The hostname looks ok, but there could be other reasons like YP not configured or the add keeps failing. just look for yp/ entries

karl.


Here's what's in icecast.xml:

<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>


`cat error.log | grep yp/` returns nothing. Same with access.log.
_________________
---
Bill Goldsmith
www.radioparadise.com
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Feb 05, 2014 11:14 am    Post subject: Reply with quote

If the error log contains all entries since the startup of your icecast then you should get something even if it's just to say it was disabled or the directory is loaded. I suspect you either have a low log level or your logs have cycled, try up'ing the log level 4 and reload. I assume you have no such settings as public in the xml either.


karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8
Page 8 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber