[Icecast-dev] listen backlog patch

Stephan Leemburg stephan.leemburg at npo.nl
Thu Feb 19 07:07:10 PST 2015


Hello Icecast-dev,

I am new to this list.

I am working for the NPO, the Dutch Public Broadcasting agency.
We do a lot of icecast streaming. We run at least 20 icecast server
instances on our media streaming cluster.

We ran into an issue that clients which where connecting to our streams
seemed to be 'hanging' on the connection setup frequently. The client
'thinks' it is connected, but no data.

People suggested that it probably had to do with the poll() call. So, I
looked into that.

I found that the issue was actually caused by the very low listen
backlog (5).

On our clusters, we typically set this to 8192. Yes it is high, but we
do a _lot_ of streaming and host very high volume websites.

Currently we are using icecast 2.3. We are migrating to 2.4.
So, I have written patches for 2.3 and 2.4, but also for the current 2.5
git tree.

Unfortunately, I am a newby when it comes to git (sorry). But I do have
unified diff patch files for the 2.3, 2.4 and 2.5 source trees.

The patched 2.4 icecast was tested by our media streaming team and they
confirmed that their issue was solved by it.

Can I submit them (and how)?


-- 
With kind regards/Met vriendelijke groet,

Stephan Leemburg, internetbeheerder
NPO ICT Internet Services
Bart de Graaffweg 2, 1217 ZL Hilversum
servicedesk at omroep.nl, 035-6773555


More information about the Icecast-dev mailing list