title: Tomcat Threads Ready
body: <p>I deployed a web application on a server.
  I created a script in order to perform load on the application(stress test). The stress generated different requests using 10 threads.
  I arrived into the following status as shown in the manager of tomcat:</p>
  
  <p>Free memory: 34.57 MB Total memory: 1166.43 MB Max memory: 1166.43 MB</p>
  
  <p>Max threads: 200 Current thread count: 59 Current thread busy: 12
  Max processing time: 60295419 ms Processing time: 1.8809264E7 s Request count: 233217 Error count: 8100 Bytes received: 4.11 MB Bytes sent: 7493.59 MB</p>
  
  <p>According to this status 12 threads are busy for servicing the requests while the other 47 threads are in a ready state.
  There is 34.57 MB of memory available out of 1166.43MB which was initially allocated. I suspect that since tomcat doesn't destroy the non used ready threads, memory is not released but I am not sure. 
  Does any one have any other insights ? Does anyone know how to timeout ready threads ?</p>
  
  <p>Thanks </p>