title: Jenkins Slaves Randomly Disconnect from the Master
body: <p>I'm currently setting up a vm cluster to run Jenkins for use with a large project,
  I have jenkins set up, all the VM's are running Windows 7 64-bit with plenty of ram, disk space and the slave agents deployed (running as windows service).I keep getting the following error after a few minutes. </p>
  
  <pre><code>Connection was broken
  
  java.nio.channels.AsynchronousCloseException
  at java.nio.channels.spi.AbstractInterruptibleChannel.end(Unknown Source)
  at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
  at hudson.remoting.SocketChannelStream$1.read(SocketChannelStream.java:33)
  at sun.nio.ch.ChannelInputStream.read(Unknown Source)
  at sun.nio.ch.ChannelInputStream.read(Unknown Source)
  at sun.nio.ch.ChannelInputStream.read(Unknown Source)
  at java.io.InputStream.read(Unknown Source)
  at sun.nio.ch.ChannelInputStream.read(Unknown Source)
  at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82)
  at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
  at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
  at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
  at java.io.ObjectInputStream.readObject0(Unknown Source)
  at java.io.ObjectInputStream.readObject(Unknown Source)
  at hudson.remoting.Command.readFrom(Command.java:92)
  at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:70)
  at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
  </code></pre>
  
  <p>The slaves disconnect for 30 seconds to 2 minutes and then reconnect,
  the response time also varies wildly between 400ms and 5 seconds.</p>
  
  <p>The cluster is on its own switch and a ping from any machine returns a &lt; 1ms time.</p>
  
  <p>Any help?</p>