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 

Icecast KH
Goto page Previous  1, 2, 3 ... 15, 16, 17, 18, 19  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches
View previous topic :: View next topic  
Author Message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Jan 07, 2012 2:53 am    Post subject: Reply with quote

can you try www.xiphicecast.webspace.virginmedia.com/icecast-2.3.2-kh31.2_setup.exe.

Seeing that I've no comments from anyone else about this, I decided to look at win32 specific calls. It could be down to something not quite clear in the docs for win32. If it is this then the behaviour would be shown unrelated to relays starting, but instead, listeners would experience sync errors. This would only affect FLV listeners currently so if you have none then it won't be down to that.

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



Joined: 31 Aug 2007
Posts: 156

PostPosted: Wed Jan 18, 2012 9:04 pm    Post subject: Reply with quote

Thanks, tested.

Same as previous, unfortnately Sad

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 Jan 18, 2012 10:45 pm    Post subject: Reply with quote

A bit of a head scratcher, debugging based on only a graph to go on is a bit stretch. Again no reports elsewhere so I really think this is down to some win32 specific issue. One other possibility is that the OS is reporting a full use of it's buffers and that is translating to an unrecoverable error dropping the listener.

Assuming this particular case is recoverable (just heavy use of the bursting with lots of new listeners) and just requires the listener to back off to allow data to go, then maybe the next build will help.

http://www.xiphicecast.webspace.virginmedia.com/icecast-2.3.2-kh31.4_setup.exe

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



Joined: 31 Aug 2007
Posts: 156

PostPosted: Thu Jan 19, 2012 11:39 am    Post subject: Reply with quote

Thanks, I'll give it a shot.

Next question: is there a way to do geo-blocking in Icecast server?
It's a mandatory requirement for the Olympic games... Sad
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Jan 19, 2012 12:07 pm    Post subject: Reply with quote

You can use the listener_add auth url trigger, that can use the IP as as reject or accept condition. I'm sure some of the geoip utils have say a php interface where IP lookup can be used.

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



Joined: 24 Feb 2008
Posts: 19

PostPosted: Tue Feb 07, 2012 10:38 am    Post subject: Reply with quote

Anonymous wrote:

If you have a look at my config a page before, moving the:
Code:
<shoutcast-mount>/stream.nsv</shoutcast-mount>

part above the listening socket definitions did the trick.


The example "icecast.xml" configuration in the GIT trunk was not updated with this change, yet.

It is possible to either include the <shoutcast-mount> tag above all <listen-socket> tags, or instead, enter it like proposed in the "icecast_shoutcast_compat.xml".
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 07, 2012 5:44 pm    Post subject: Reply with quote

either is allowed, it is just that the per listen-socket way is more flexible. The global method is mainly to allow for the 2.3.2 way of using a shoutcast-compat option.

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



Joined: 31 Aug 2007
Posts: 156

PostPosted: Wed Feb 08, 2012 10:47 pm    Post subject: Reply with quote

Karl, look at this:


This is good. That's what we get with KH22. More than 5000 listeners on the 25 different streams, at 450 Mbit/s served from icecast Win32 service.

Recent builds can't seem to be able to handle that. Except KH30 which was nearly the same as this but it had relay reconnection problems.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Feb 09, 2012 1:40 am    Post subject: Reply with quote

Have you been able to run into this with simulated listeners yet. Have you determined if the issue is down to sources stopping or just a certain number of listeners dropping, if listeners were dropped then was it because they were slow?

Running a lesser load test here had no results so far. The more recent fixes over the last few weeks wouldn't just affect some listeners across various mountpoints.

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



Joined: 31 Aug 2007
Posts: 156

PostPosted: Mon Feb 13, 2012 3:08 pm    Post subject: Reply with quote

Nope. This appears only with high number of listeners. It's our main (production) server, with full national and international listening audience.

Have no clue how to simulate this amount of listeners in a test-environment.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Feb 13, 2012 3:20 pm    Post subject: Reply with quote

usually best to run the listeners on a separate box (maybe near by but on a decent connection link). Then run something like ab or a script with multiple curls to extract a sample from the stream, could even be rate limited.

You don't need to stop the production setup, just run the new binary on a separate port, maybe relaying the from the production server. The test is for load levels not for playback.

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



Joined: 31 Aug 2007
Posts: 156

PostPosted: Wed Feb 15, 2012 10:23 am    Post subject: Reply with quote

I don't think I can do that now...

Meanwhile: since the downgrade to KH22 (beginning of week 5), we're able to serve 25% more listeners than before:
Back to top
View user's profile Send private message
aoz1



Joined: 05 Sep 2010
Posts: 6
Location: UA

PostPosted: Mon Feb 20, 2012 12:54 am    Post subject: Reply with quote

Karl, I just try to play HD video stream over icecast.
you somehow limit the limit_rate up to 2Mbits/sec.

Ho do I rise it up to 4Mbits/sec.

Thanks in advance
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Feb 20, 2012 1:40 am    Post subject: Reply with quote

it's isn't a figure that is imposed directly that can be lifted, it's probably a combination that I've not specifically checked for, after all it's not a common bitrate of stream Smile

I'll try a few tests to make sure, what figure are you actually specifying in limit-rate?

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



Joined: 05 Sep 2010
Posts: 6
Location: UA

PostPosted: Mon Feb 20, 2012 10:11 am    Post subject: Reply with quote

karlH wrote:
it's isn't a figure that is imposed directly that can be lifted, it's probably a combination that I've not specifically checked for, after all it's not a common bitrate of stream Smile

I'll try a few tests to make sure, what figure are you actually specifying in limit-rate?

karl.


It's not absolutelely necessary to use the limit-rate. My version have already a lot of of hack-s. So, I can just reassign some set of constants in source.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Dev Branches All times are GMT
Goto page Previous  1, 2, 3 ... 15, 16, 17, 18, 19  Next
Page 16 of 19

 
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