title: jboss 7 domain:threads configuration
body: <p>I was configuring an AJP connector on my JBoss7.1.1.Final. I assigned a thread pool to that connector whith some "bad" configuration:</p>
  
  <pre><code>&lt;bounded-queue-thread-pool name="ajp-executor"&gt;
      &lt;core-threads count="10" per-cpu="20"/&gt;
      &lt;queue-length count="10" per-cpu="20"/&gt;
      &lt;max-threads count="10" per-cpu="20"/&gt;
      &lt;keepalive-time time="10" unit="seconds"/&gt;
  &lt;/bounded-queue-thread-pool&gt;
  </code></pre>
  
  <p>I shutdown and startup my JBoss and standalone.xml came up with another configuration:</p>
  
  <pre><code>&lt;bounded-queue-thread-pool name="ajp-executor"&gt;
      &lt;core-threads count="90"/&gt;
      &lt;queue-length count="90"/&gt;
      &lt;max-threads count="90"/&gt;
      &lt;keepalive-time time="10" unit="seconds"/&gt;
  &lt;/bounded-queue-thread-pool&gt;
  </code></pre>
  
  <p>which is a correct one. Ok, JBoss removed the "bad" configurations. But, why count is 90? How JBoss computed this value?</p>