I've been trying to set up an icecast streaming audio server, and have
been having 'weird' TCP connection issues. What's odd is that the client
can connect to the server on a tcp port such as http and download data
awfully quickly (100 KBytes/sec). However when a client such as WinAmp
connects and tries to listen to an audio stream, the TCP connection
frequently dies within a minute, even though the data throughput of about
13 KBytes/sec is easy to sustain between the hosts.
I tried various versions of the icecast server, and in one version I saw
several errors like "client not receiving data fast enough" before the
TCP connection was dropped. Also, doing "netstat" on the server I see the
TCP Send-Q for the connection creep up over time and hover around 24000.
Could it be that the server is detecting the large TCP queue on the
socket as an impending error, so it drops the connection? What can I do
about this? If you search google you'll see that this problem seems to
have plagued icecast for a long time...
--
Jem Berkes
http://www.sysdesign.ca/