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
, 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
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
> 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
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
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
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
-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
e level of
thinking with which we created them.
- Albert Einstein
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 9:28 AM
To: Tomcat Users List
Subject: RE: Tomcat causing high CPU load
> From: Andrew Miehs [mailto:[EMAIL PROTECTE
> From: Andrew Miehs [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat causing high CPU load
>
> Kill -3
> ps auxwh
The OP is running on Windows...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intende
t; On 11/5/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > > > From: Caldarale, Charles R
> > > > Subject: RE: Tomcat causing high CPU load
> > > >
> > > > There are also some 3rd-party tools to take thread dumps of
> > > > services (I
Hi Bob,
Kill -3
Will produce a stack trace in catalina.out
This problem is VERY most probably your code, and not tomcat, but a
stacktrace should show this.
ps auxwh
will also give you an indication, its probably just 1 thread pushing
you to such a high load.
As for "walking" through the cod
gards
> Leon
>
>
> On 11/5/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > > From: Caldarale, Charles R
> > > Subject: RE: Tomcat causing high CPU load
> > >
> > > There are also some 3rd-party tools to take thread dumps of
&g
ubject: RE: Tomcat causing high CPU load
> >
> > There are also some 3rd-party tools to take thread dumps of
> > services (I think JProbe does, for example).
>
> Also, Lambda Probe (www.lambdaprobe.org) can display stack traces, but
> only one thread at a time.
>
> From: Caldarale, Charles R
> Subject: RE: Tomcat causing high CPU load
>
> There are also some 3rd-party tools to take thread dumps of
> services (I think JProbe does, for example).
Also, Lambda Probe (www.lambdaprobe.org) can display stack traces, but
only one thread at a
> From: Sai Bobba [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat causing high CPU load
>
> I've searched the web for taking thread dumps
Try searching the Tomcat mailing list archives
(http://marc.info/?l=tomcat-user) as well.
For Windows, run the process from a command pr
L PROTECTED]
> > Subject: Tomcat causing high CPU load
> >
> > - Tomcat was responsible for this CPU
> > load almost exclusively
>
> You need to differentiate between Tomcat and the webapps running within,
> even though they are all running in the same process. It is
> From: Sai Bobba [mailto:[EMAIL PROTECTED]
> Subject: Tomcat causing high CPU load
>
> - Tomcat was responsible for this CPU
> load almost exclusively
You need to differentiate between Tomcat and the webapps running within,
even though they are all running in the same process
what happens in jconsole over that period of time?
M-
- Original Message -
From: "Sai Bobba" <[EMAIL PROTECTED]>
To:
Sent: Sunday, November 04, 2007 8:25 PM
Subject: Tomcat causing high CPU load
> Hi,
>
> I'm using the following:
>
> JDK1.5
> Tomc
Hi,
I'm using the following:
JDK1.5
Tomcat 6
SQL Server 2000
Server running on Windows 2000
The web app deployed consists of: an application form filled in by the
prospective student, a servlet that gets the form parameters
(>60), processes them, and saves the data input by the user to several
t
20 matches
Mail list logo