title: ActionCable: Why so many connections?
body: <p>Since trying out ActionCable in a a local, dev environment. I have noticed the application slowing down and frequently hanging. </p>
  
  <p>If I run netstat I see many connections, created by action cable. Is this expected and normal? </p>
  
  <pre><code> netstat -atn | grep 3000
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.52163        ESTABLISHED
  tcp4       0      0  127.0.0.1.52163        127.0.0.1.3000         ESTABLISHED
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.52161        ESTABLISHED
  tcp4       0      0  127.0.0.1.52161        127.0.0.1.3000         ESTABLISHED
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.52159        ESTABLISHED
  tcp4       0      0  127.0.0.1.52159        127.0.0.1.3000         ESTABLISHED
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.52157        ESTABLISHED
  tcp4       0      0  127.0.0.1.52157        127.0.0.1.3000         ESTABLISHED
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.52155        ESTABLISHED
  tcp4       0      0  127.0.0.1.52155        127.0.0.1.3000         ESTABLISHED
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.52152        ESTABLISHED
  tcp4       0      0  127.0.0.1.52152        127.0.0.1.3000         ESTABLISHED
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.52146        ESTABLISHED
  tcp4       0      0  127.0.0.1.52146        127.0.0.1.3000         ESTABLISHED
  tcp4       0      0  *.3000                 *.*                    LISTEN
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.51682        TIME_WAIT
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.51688        TIME_WAIT
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.51684        TIME_WAIT
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.51686        TIME_WAIT
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.51667        TIME_WAIT
  tcp4       0      0  127.0.0.1.3000         127.0.0.1.51690        TIME_WAIT
  </code></pre>
  
  <p>I have tried changing the eager loading, but it doesn't seem to change this behaviour</p>
  
  <pre><code>config.eager_load = true
  </code></pre>