karlheyes / icecast-kh

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

Listener are being removed when under heavy load #341

Open mbugeia opened 3 years ago

mbugeia commented 3 years ago

Hi,

I've noticed listener being removed from the stream when under heavy load. At about 17k listeners I start to get a lot of logs like :

INFO source/source_queue_advance Client 54301850 (x.x.x.x) has fallen too far behind (17548569984) on /myradio.mp3, removing

My VM has 32CPU and 128GB of RAM and neither seems to be saturated (far from it), bandwith seems good too (half of the VM capabilitie). I run icecast kh15 on debian buster.

I've tried a lot of things but I can't figure out what causes this limitation. Is it icecast itself? Is it the linux kernel?

Can you point me to things to look at to solve this problem?

Many thanks