On 5/26/2011 10:17 AM, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To whom it may concern,

On 5/23/2011 10:45 PM, tom...@r322.com wrote:
I have a problem where a simple wget call to docs/config/valve.html can
sometimes take up to 15 seconds to process.

:(

I have a script that does a wget call to valve.html every 5 seconds.
Most of the time it's fast. However, today in the past 6 hours I had 13
cases where it took over 3 seconds for wget to return valve.html. This
is happening across 7 servers pretty consistently and I can't figure out
why. Any suggestions to help me narrow down the problem?

Can you run sar/iostat/vmstat/etc. simultaneously and graph the system
values against your wget response times? You may find that something is
spiking the CPU, I/O, NIC, etc. at those times.

Are you on a virtual machine, perhaps? I've found that VMs (particularly
OpenVZ and other Virtuozzo-derived flavors) are notorious for having
bizarre I/O stalls on the virtual containers.

Server version: Apache Tomcat/6.0.20

It certainly couldn't hurt to upgrade to the most recent version: Tomcat
6.0.32. Remember to carefully read the changelog.

JVM Version:    1.6.0_22-b04
JVM Vendor:     Sun Microsystems Inc.

It probably won't make a difference, but I believe that's a version or
two behind as well.

Yes, 1.6.0_24 is the latest. I believe the only changes from _22 were security fixes, though.


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

Reply via email to