Re: [OT] Tomcat causing high CPU load

2007-11-08 Thread Andrew Miehs
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 exc

RE: [OT] Tomcat causing high CPU load

2007-11-08 Thread Bob Riaz
, November 07, 2007 11:14 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

Re: [OT] Tomcat causing high CPU load

2007-11-07 Thread Kev Jackson
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 app

RE: [OT] Tomcat causing high CPU load

2007-11-07 Thread Caldarale, Charles R
> 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 wi

RE: [OT] Tomcat causing high CPU load

2007-11-07 Thread Bob Riaz
gain for everybody's 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 Wi

Re: [OT] Tomcat causing high CPU load

2007-11-07 Thread alvaro tovar
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, o

Re: [OT] Tomcat causing high CPU load

2007-11-07 Thread David kerber
m: 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: There is a kill.exe (older version in resource kits) and

Re: [OT] Tomcat causing high CPU load

2007-11-06 Thread Christopher Schultz
-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 k