tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: controling resource and cpu hogging
Date Sun, 31 Dec 2006 13:22:55 GMT
> From: hanasaki [] 
> Subject: controling resource and cpu hogging
> How can misbehaving deployed WAR's be identified and
> 1. killed off (maybe an issue if they hold onto threads
> or instance references when undeploy or stop is called)

You can try a profiler or thread dump to determine where each thread is
executing, but that's not a particularly easy or efficient way of
identifying the problem.  You can also use the built-in manager app to
see if threads are active in any given application.

> 2. be controlled (ie: throttle/cap a specific domain
> and/or WAR deployment in CPU consumption).

I'm not aware of anything currently in Tomcat or the JVM that will let
you do this easily.  However, JSR 284 (Resource Consumption Management
API - has recently been approved,
which should address the issue.  No idea when anyone will actually
implement it.

 - Chuck

MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message