title: Why would Apache be slow when application server is quick?
body: <p>We are using Apache as the web server, and it proxies requests to Jboss (think Tomcat) Java application server using AJP.</p>
  
  <p>We have logging on for Apache and for our web application in Jboss.</p>
  
  <p>We are seeing, not always but sometimes, cases where the processing time for a request in Jboss is less than half a second, but in the Apache log for the same request it is taking over 8 seconds to complete the request.</p>
  
  <p>I can't even think where to start looking and I have not come up with a good Google search to try and work out why Apache is sitting on the request for so long. Any help appreciated.</p>