title: Tomcat 7 using high cpu with NIO connector
body: <p>I implemented a comet server with tomcat 7 and the NIO connector. The cpu usage is always around 1% but sometimes (even after days) the cpu rises to 100% and remain fixed to that value even without any requests to process.
  I used <code>jstack</code> to get the state of the threads and pasted the output here:</p>
  
  <p><a href="http://pastebin.com/sKJcQkei" rel="nofollow">jstack output</a></p>
  
  <p>can anybody point me in the right direction? Any idea about where I should look?</p>