karlheyes / icecast-kh

KH branch of icecast
GNU General Public License v2.0
298 stars 106 forks source link

Windows 64bit dropping "slow listener" issue #251

Open jameslewisuk opened 5 years ago

jameslewisuk commented 5 years ago

I have 3 very low usage icecast servers, streaming to about 20 clients to distribute audio to sites (multiple servers for redundancy). They were running the non-KH build of Icecast 2.4 which worked no issues for many years and months

I changed all 3 servers to Icecast 2.4.0-kh11 (win64) and set up the same relays/mounts and left the rest of the settings default.

Each of the servers is running exactly same configuration XML (apart from host name etc) On two of the servers, it runs fine. One of the servers does not. The issue is that the on particulrar server drops the listeners almost instantly after they connect.

[2019-03-28 12:27:21] INFO source/source_queue_advance Client 2 (xx.xx.xx.xx) has fallen too far behind (2871484) on /mount-name-xx, removing

This happens after about 5 to 10 seconds.

It also seems to drop the source relay frequently too.

I know there is no issue with the connectivity or bandwidth, and if I go back to regular Icecast 2.4.4 (making no other changed on the machine) it works fine and stays connected for days.

Here are my settings, I think they are on default.

<workers>1</workers>  (have also tried this on 2 as its dual core)
    <sources>20</sources>
    <queue-size>524288</queue-size>
    <client-timeout>30</client-timeout>
    <header-timeout>15</header-timeout>
    <source-timeout>10</source-timeout>
    <burst-size>65535</burst-size>

The server with the issue is running Windows 2008R2, which is the same as the other 2 servers where it runs fine.

I have checked the network drivers are up to date on the machine. I thought it may have been a bug in the recent KH11, so I changed to KH12 and it still has the same issue.

I am stumped!

Any suggestions?