icecast-kh
icecast-kh copied to clipboard
403 errors when under heavy load
Icecast 2.4.0-kh13 responds with 403 errors when being slammed with a lot of listeners.
Steps to reproduce:
for i in {1..100}; do curl "http://localhost:8000/128k_mp3" -O /dev/null & done
Expected Result: Can serve more listeners, as I have "unlimited" set as max listeners. Can still access admin panel.
Actual Result: Icecast replies a 403 to some of the listeners spawned by the above, and to any further requests to any routes. Cannot access admin panel, even with authentication.
Reproduced on 2.4.0-kh14 as well
what exactly is 128k.mp3, a file, stream or just missing? What is clients set to? I presume there is no auth set for the mount
karl.
It's an MP3 stream (from Liquidsoap). Clients is set to 500 Auth is not set for the mount
hmm, any info from the error log level 4 when these listeners are getting 403
karl
trying on my build here with that same command yeilds no such result. What follows the 403 as that might pinpoint an exit point
karl
I'll have to wait until next weekend to give that a go