<div dir="ltr">Hello,<div><br></div><div>I'm writing to see if anyone here has had any success running Icecast2 (specifically I am using 2.4) on Amazon EC2 behind an Elastic Load Balancer?</div><div><br></div><div>I have the ELB configured to do TCP loadbalancing rather than HTTP.  I am able to connect and to stream music via the ELB, but when I disconnect, the listener count in Icecast does not decrease. On examining the state of the sockets table after disconnection I see that the socket from the ELB to Icecast is in the CLOSE_WAIT state *, and it remains in that state indefinitely. When I connect to the Icecast server directly, connections are established and closed as expected. I'm using Debian Wheezy in EC2.</div><div><br></div><div>Any suggestions or workarounds? It is my understanding that Icecast should be closing the sockets in the CLOSE_WAIT state.</div><div><div><br></div><div>Thanks,</div><div><br></div><div>Matt</div><div><br></div><div>*</div><div><div>root@ip-10-0-0-60:~# netstat -atnp | grep 8000</div><div>tcp        0      0 <a href="http://0.0.0.0:8000">0.0.0.0:8000</a>            0.0.0.0:*               LISTEN      9615/icecast2   </div><div>tcp     1000      0 <a href="http://10.0.0.60:8000">10.0.0.60:8000</a>          <a href="http://10.0.0.79:35915">10.0.0.79:35915</a>         ESTABLISHED 9615/icecast2   <-- This is my liquidsoap source server </div><div>tcp        1      0 <a href="http://10.0.0.60:8000">10.0.0.60:8000</a>          <a href="http://10.0.0.69:14665">10.0.0.69:14665</a>         CLOSE_WAIT  9615/icecast2 <-- This is the listener connection via ELB that I believe should now be closed.</div></div><div><br></div><div><br></div><div>ps: Apologies for the email disclaimer below, I can't remove it.</div>
</div></div>

<br>
<span style="font-size:7.5pt;font-family:Verdana,sans-serif"><img src="http://www.7digital.com/stores/assets/7digital.com/7d_EmailSignature.gif"><br><br>This
 email, including attachments, is private and confidential. If you have 
received this email in error please notify the sender and delete it from
 your system. Emails are not secure and may contain viruses. No 
liability can be accepted for viruses that might be transferred by this 
email or any attachment. Any unauthorised copying of this message or 
unauthorised distribution and publication of the information contained 
herein are prohibited.<br><br></span><font style="font-family:Arial,Helvetica,sans-serif" size="1"><font style="font-family:Arial,Helvetica,sans-serif" size="1">7digital Limited. Registered office:</font><font style="font-family:Arial,Helvetica,sans-serif;font-size:1.3em" size="1"> </font><font face="Arial, Helvetica, sans-serif" size="1">69 Wilson Street, London EC2A 2BB</font><span style="font-family:Arial,Helvetica,sans-serif;font-size:x-small">.<br>Registered in</span><font size="1"> England and Wales. Registered No. 04843573.</font></font>