Limit connections to tomcat via mod_jk

2009-02-04 Thread benshort

Hi, 

We have Apache Httpd 2.4.4 in front of Tomcat 6.0.13 and are using mod_jk to
talk between them.
Apache Httpd is using prefork configured to allow 256 processes. Tomcat also
has 256 threads available.

When a user requests a page one call to the Tomcat is made followed by many
requests to get static content served up by Apache Httpd.

When under load we find that pages take a long time to load due to the
number of requests. We believe that by increasing the number of Apache Httpd
processes available the pages should load faster as the majority of requests
are for static content. 

What we need to be able to do is limit the number of concurrent requests
from Apache Httpd to Tomcat. Meaning that we could have 768 Apache processes
available for static content and 256 threads for tomcat.

Is something like this possible?

Regards

Ben Short 
-- 
View this message in context: 
http://www.nabble.com/Limit-connections-to-tomcat-via-mod_jk-tp21829639p21829639.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



HTTP 304 - IF_MODIFIED_SINCE

2006-09-05 Thread benshort

Hi, 

How do I get the IF_MODIFIED_SINCE header from the HttpServletRequest
object?

When I use the HttpServletRequest.getHeaderNames() method and iterate
through the enumeration I get the following headers only.

accept
referer
accept-language
accept-encoding
user-agent
host
connection
cookie

Thanks 

Ben



-- 
View this message in context: 
http://www.nabble.com/HTTP-304---IF_MODIFIED_SINCE-tf2220040.html#a6149505
Sent from the Tomcat - User forum at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]