tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CrystalCracker <>
Subject Re: Apache, Tomcat, Mod_JK Configurations
Date Mon, 01 Jun 2009 16:30:22 GMT

Ok.. adding some info to mod jk logs and doing some thread and heap dumps, I
figured that, during peak traffic hours, the garbage collection gets more
frequest and takes longer. This slows down the overall system and the
threads start piling up. Requests that used to take 2 seconds now take a
couple of hundred seconds. The application isn't using the swap space
though. It takes a long as 15 minutes for the system to recover completely
and sometimes I have to restart.

Now how can I intelligently use the timeout settings to kill the long
running requests and prevent threads from making it worse? 

In httpd.conf, I have:
Timeout 120

In, I have: 

In the tomcat AJP connector, I have:

How can I ensure that no request is taking longer than 3 minutes?

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message