title: JBoss EAP 6.3 Http Connector Settings
body: <p>I have been researching on Google for quite some time now to understand how a server accepts a http-request and processes them. If I understand right there should be a listener on port 8080 that always keeps listening for incoming http-requests and as soon as it receives a request it should be able to create a thread and delegate the work to that thread.</p>
  
  <p>With the knowledge above, what I am trying to understand is what is max-connections and max-threads while setting up http-connector. Also if we don't explicitly specify these then what is the maximum value?</p>
  
  <pre><code>    &lt;subsystem xmlns="urn:jboss:domain:web:2.1" default-virtual-server="default-host" native="false"&gt;
          &lt;connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/&gt;
          &lt;virtual-server name="default-host" enable-welcome-root="true"&gt;
              &lt;alias name="localhost"/&gt;
              &lt;alias name="example.com"/&gt;
          &lt;/virtual-server&gt;
      &lt;/subsystem&gt;
  </code></pre>
  
  <p>To be very specific here are my questions in bullet form:</p>
  
  <ul>
  <li>Is max-connection=maximum http listeners that can process http-requests concurrently?</li>
  <li>Is max-threads=maximum threads that are created in internal thread pool that is used by http listener to delegate the work to?</li>
  <li>With default http connector settings as mentioned above, what is the default value of max-connections and max-threads</li>
  <li>What is the decision factor to set the max-connections and max-threads, is it dependent on the number of processors and available memory?</li>
  </ul>
  
  <p>Thank you!</p>