PM
To: Tomcat Users List
Subject: Re: [OT] Tomcat causing high CPU load
Hi,
From a programmatic point of view
Many thanks for all the suggestions. I found a simple tool called StackTrace
from http://www.adaptj.com/root/main/tracehowtos#ht0 to help me take thread
dumps from Tomcat. I found
On 08/11/2007, at 6:29 PM, Bob Riaz wrote:
Thanks. StringBuilder seems to be the most popular suggestion! I'm
going to implement this and report on any changes I see in Tomcat's
behavior.
I'm also looking at other possiblities, such as Tomcat's I/O
activities causing thrashing if I/O is
:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 9:21 AM
To: Tomcat Users List
Subject: Re: [OT] Tomcat causing high CPU load
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Charlie,
Charlie Wingate wrote:
There is a kill.exe (older version in resource kits) and a newer
taskkill.exe included
From: David kerber [mailto:[EMAIL PROTECTED]
Subject: Re: [OT] Tomcat causing high CPU load
Instead of using a string, use a StringBuffer and
.append() to it
Or, if you're on Java 1.5 or 1.6, use a StringBuilder object; it's the
same as StringBuffer but without the synchronization overhead
the application qhere i work, also have a big charge for the memory, the
server have this parametres, and never this crased, i think that this force
to free memory, the memory no colapse, but some errors to extrange, i think
that free memory that is in use, and this cause problems, kill a sesion,
help!
bob
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 9:21 AM
To: Tomcat Users List
Subject: Re: [OT] Tomcat causing high CPU load
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Charlie,
Charlie Wingate wrote
Hi,
From a programmatic point of view
Many thanks for all the suggestions. I found a simple tool called StackTrace from
http://www.adaptj.com/root/main/tracehowtos#ht0 to help me take thread dumps from Tomcat.
I found when the CPU load was high that there was a thread from the suspect web
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Charlie,
Charlie Wingate wrote:
There is a kill.exe (older version in resource kits) and a newer
taskkill.exe included with XP [onward]
Note that taskkill.exe and UNIX kill are completely different. taskkill
actually kills tasks, while the UNIX