-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/16/2010 3:23 PM, Brian wrote:
> Nov 15, 2010 8:37:28 PM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [] is still processing a request that has yet to
> finish. This is very likely t
0.29 using more and more RAM until it collapses?
>
> On 16/11/2010 05:08, Brian wrote:
> > I still have to find the reason of the leak.
>
> Tomcat attempts to find & notify you of potential memory leaks. You
> reported messages in your logs at app reload. Did yo
On 16/11/2010 05:08, Brian wrote:
> I still have to find the reason of the leak.
Tomcat attempts to find & notify you of potential memory leaks. You
reported messages in your logs at app reload. Did you tell us what they
are yet?
p
0x62590808.asc
Description: application/pgp-keys
signatur
t Users List
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> > From: Brian [mailto:bbprefix-m...@yahoo.com]
> > Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> > Isn't there a log of all the requests?
>
&
> From: Brian [mailto:bbprefix-m...@yahoo.com]
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
> Isn't there a log of all the requests?
Not by default, but you can enable the AccessLogValve in server.xml, that will
display the request URI and the
2010 10:38 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> > From: Brian [mailto:bbprefix-m...@yahoo.com]
> > Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> > sometimes Tomcat thin
> From: Brian [mailto:bbprefix-m...@yahoo.com]
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
> sometimes Tomcat thinks that needs a huge buffer, so it makes
> the array to increase to millions of chars. I have no such big
> pages in my site
This is
Hi Chris,
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Monday, November 15, 2010 09:04 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> -BEGIN PGP SIGNED MESS
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/14/2010 1:30 AM, Brian wrote:
> It seems that I solved my problems! So far, these are my
> conclutions:
>
> - Very often, when I restart/redeploy my app, some garbage is left in
> the memory. I don't know why, given that my code closes e
Rainer Jung wrote:
André,
On 14.11.2010 20:11, André Warnier wrote:
For the "using JMX clients" page, may I recommend :
http://code.google.com/p/jmxsh/
which for Java ignorami of my level, is a useful tool to do nifty things
in a scripting (non-graphic) mode.
I use it only for really simple thi
André,
On 14.11.2010 20:11, André Warnier wrote:
For the "using JMX clients" page, may I recommend :
http://code.google.com/p/jmxsh/
which for Java ignorami of my level, is a useful tool to do nifty things
in a scripting (non-graphic) mode.
I use it only for really simple things, but I have the
On 14/11/2010 19:11, André Warnier wrote:
> Great.
> For the "using JMX clients" page, may I recommend :
> http://code.google.com/p/jmxsh/
> which for Java ignorami of my level, is a useful tool to do nifty things
> in a scripting (non-graphic) mode.
> I use it only for really simple things, but I
Pid wrote:
On 14/11/2010 17:37, Konstantin Kolinko wrote:
2010/11/14 André Warnier :
Jon Mercer wrote:
On 14 November 2010 16:55, Pid wrote:
On 13/11/2010 23:10, Leon Rosenberg wrote:
On Sat, Nov 13, 2010 at 10:19 PM, Pid wrote:
On 12/11/2010 21:27, Leon Rosenberg wrote:
P.S. I have a s
On 14/11/2010 17:37, Konstantin Kolinko wrote:
> 2010/11/14 André Warnier :
>> Jon Mercer wrote:
>>>
>>> On 14 November 2010 16:55, Pid wrote:
>>>
On 13/11/2010 23:10, Leon Rosenberg wrote:
>
> On Sat, Nov 13, 2010 at 10:19 PM, Pid wrote:
>>
>> On 12/11/2010 21:27, Leon Rosen
2010/11/14 André Warnier :
> Jon Mercer wrote:
>>
>> On 14 November 2010 16:55, Pid wrote:
>>
>>> On 13/11/2010 23:10, Leon Rosenberg wrote:
On Sat, Nov 13, 2010 at 10:19 PM, Pid wrote:
>
> On 12/11/2010 21:27, Leon Rosenberg wrote:
>>
>> P.S. I have a small tool that cr
Jon Mercer wrote:
On 14 November 2010 16:55, Pid wrote:
On 13/11/2010 23:10, Leon Rosenberg wrote:
On Sat, Nov 13, 2010 at 10:19 PM, Pid wrote:
On 12/11/2010 21:27, Leon Rosenberg wrote:
P.S. I have a small tool that creates a diff of two subsequent
histograms, i can share it if you need i
On 14 November 2010 16:55, Pid wrote:
> On 13/11/2010 23:10, Leon Rosenberg wrote:
> > On Sat, Nov 13, 2010 at 10:19 PM, Pid wrote:
> >> On 12/11/2010 21:27, Leon Rosenberg wrote:
> >>> P.S. I have a small tool that creates a diff of two subsequent
> >>> histograms, i can share it if you need it
On 13/11/2010 23:10, Leon Rosenberg wrote:
> On Sat, Nov 13, 2010 at 10:19 PM, Pid wrote:
>> On 12/11/2010 21:27, Leon Rosenberg wrote:
>>> P.S. I have a small tool that creates a diff of two subsequent
>>> histograms, i can share it if you need it.
>>
>> Post it to the wiki, perhaps?
>
> Which p
or the 20 WARs full of static pages. This
problem was also swallowing hundreds of MB!
Brian
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Saturday, November 13, 2010 11:03 AM
> To: Tomcat Users List
> Subject: RE: Tomcat
he LIMIT value =true, the buffer will shrink to 512 bytes again, huh? That
will be nice. :-)
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Saturday, November 13, 2010 07:21 AM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using m
ginal Message-
> From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com]
> Sent: Friday, November 12, 2010 04:27 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> Hello Brian,
>
> maybe I missed half of the communicati
On Sat, Nov 13, 2010 at 10:19 PM, Pid wrote:
> On 12/11/2010 21:27, Leon Rosenberg wrote:
>> P.S. I have a small tool that creates a diff of two subsequent
>> histograms, i can share it if you need it.
>
> Post it to the wiki, perhaps?
Which page would fit best?
Leon
>
>
> p
>
--
On 13/11/2010 01:13, Brian wrote:
> I had noticed some warnings about that indeed.
What might those have been?
Posting the information about what you found will help others understand
the process you've been through, whether their problem is similar to
yours and if a similar solution applies.
p
On 12/11/2010 21:27, Leon Rosenberg wrote:
> P.S. I have a small tool that creates a diff of two subsequent
> histograms, i can share it if you need it.
Post it to the wiki, perhaps?
p
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
> From: Brian [mailto:bbprefix-m...@yahoo.com]
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
> the Eden Space is barely used (10MB right now). The survivor
> space is even less used (1MB right now).
An object is normally created in Eden and will migrate
On 12/11/2010 20:44, Christopher Schultz wrote:
> In fact, that's a good test: search your memory snapshot for instances
> of WebappClassLoader. There's a boolean in each one ("active" I think)
It is "started".
> that tells you if it's active. Force a couple of full GCs, then see how
> many of th
On 12/11/2010 20:35, Brian wrote:
> Ok, I will do that now!
>
> I have taken another snapshot of the JVM a few minutes ago. Now I also see
> that 160MB are being used by org.apache.jasper.runtime.BodyContextImpl.
> This contains images of my DYNAMIC pages!
That is sort of what I'd expect. A litt
y, November 12, 2010 02:19 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> On 12/11/2010 19:12, Brian wrote:
> > Oh, I think I found what you were asking, the "path to the GC root":
> >
> > o
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Brian,
>
> On 11/12/2010 3:02 PM, Brian wrote:
> >> -Original Message-
> >> From: Christop
..@yahoo.com]
>> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
>
>> Now I also see that 160MB are being used by
>> org.apache.jasper.runtime.BodyContextImpl.
>
> There are a couple of system properties you can set to control this:
>
> org.
> From: Brian [mailto:bbprefix-m...@yahoo.com]
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
> Now I also see that 160MB are being used by
> org.apache.jasper.runtime.BodyContextImpl.
There are a couple of system properties you can set to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/12/2010 3:02 PM, Brian wrote:
>> -Original Message-
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Sent: Thursday, November 11, 2010 02:39 PM
>
>> I agree with Chuck's assessment, but there may be some que
ubject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> On 12/11/2010 19:12, Brian wrote:
> > Oh, I think I found what you were asking, the "path to the GC root":
> >
> > org.apache.naming.resources.FileDirCont
Hi Chris,
I saved your email and hadn't replied yet. Here are my responses, thanks!
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Thursday, November 11, 2010 02:39 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6
schultz.net]
> Sent: Friday, November 12, 2010 02:21 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Brian,
>
> On 11/12/2010 2:12 PM, Brian wrote:
> >
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
> On 11/12/2010 2:12 PM, Brian wrote:
> > Oh, I think I found what you were asking, the "
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/12/2010 2:12 PM, Brian wrote:
> Oh, I think I found what you were asking, the "path to the GC root":
>
> org.apache.naming.resources.FileDirContext$FileResource
> org.apache.naming.resources.CacheEntry
> org.apache.naming.resources.Cach
On 12/11/2010 19:12, Brian wrote:
> Oh, I think I found what you were asking, the "path to the GC root":
>
> org.apache.naming.resources.FileDirContext$FileResource
> org.apache.naming.resources.CacheEntry
> org.apache.naming.resources.CacheEntry[XXX]
> org.apache.naming.resources.ResourceCache
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/12/2010 11:19 AM, Brian wrote:
> Great advice, thanks
> I'm using it right now, and I'm also using www.yourkit.com as a trial.
> My problem is in the "Tenured/Gen" area. There is where most of the RAM is
> getting used. Now I need to
DirContext
etc
etc
etc
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Friday, November 12, 2010 01:38 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> On 12/11/2010 18:30, Brian wrot
> From: Brian [mailto:bbprefix-m...@yahoo.com]
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
> I'm using Yourkit, and this this what I see.
But we can't, since the mailing list strips attachments.
- Chuck
THIS COMMUNICATION MAY CONTAIN
On 12/11/2010 18:59, Brian wrote:
> Well, maybe you can help me to make an interpretation.
>
> I'm using Yourkit, and this this what I see. The most RAM is used by byte
> arrays. If I choose this entry in the list of classes, below you will see a
> list of objects. If you choose the first one and
che.org]
> Sent: Friday, November 12, 2010 01:38 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> On 12/11/2010 18:30, Brian wrote:
> > Hi Mark,
> >
> > Besides using Tomcat to serve my app (which itself
On 12/11/2010 18:30, Brian wrote:
> Hi Mark,
>
> Besides using Tomcat to serve my app (which itself serves about 600,000
> diferent URLs), I also use it to serve static pages (HTML pages stored in
> the hard disk).
> I don't know if Tomcat is caching my dinamically generated pages (maybe it
> is)
I let Google crawl my site with more speed, my site (and
Tomcat itself, I guess) crashes sooner.
> -Original Message-
> From: Mark Thomas [mailto:ma...@apache.org]
> Sent: Friday, November 12, 2010 01:19 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more a
On 12/11/2010 18:13, Brian wrote:
> I found the problem and this time it wasn't my fault! :-)
I wouldn't be so sure about that just yet.
> I used a profiler (www.yourkit.com) and took a snapshot of all the objects
> in the JVM. I found that tons of RAM is being used by images of my delivered
, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Thursday, November 11, 2010 02:11 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> From: Brian [mailto:bbprefix-m...@yahoo.com]
> > Subject: Tomcat 6.0.29 using more
essage-
> From: Pid [mailto:p...@pidster.com]
> Sent: Friday, November 12, 2010 03:49 AM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> On 12/11/2010 05:54, Brian wrote:
> > Hi Pid,
> >
> > I did it,
p
>> -Original Message-
>> From: Pid [mailto:p...@pidster.com]
>> Sent: Thursday, November 11, 2010 03:06 PM
>> To: Tomcat Users List
>> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>>
>> On 11/11/2010 18:54, Brian wrote:
Thursday, November 11, 2010 03:06 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> On 11/11/2010 18:54, Brian wrote:
> > I don't think my app is taking all this RAM, because when I restart
> > it, the RAM usage does
u already have it. It's in the java/bin
directory.
p
>> -Original Message-
>> From: Pid [mailto:p...@pidster.com]
>> Sent: Thursday, November 11, 2010 03:06 PM
>> To: Tomcat Users List
>> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collap
t: Thursday, November 11, 2010 03:06 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> On 11/11/2010 18:54, Brian wrote:
> > I don't think my app is taking all this RAM, because when I restart
> > it, the RAM us
Thanks for the link. I will read it asap.
> -Original Message-
> From: Pid [mailto:p...@pidster.com]
> Sent: Thursday, November 11, 2010 03:01 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> On 11/11/2010 19:55,
> -Original Message-
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Thursday, November 11, 2010 02:55 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> From: Brian [mailto:bbprefix-m...
On 11/11/2010 18:54, Brian wrote:
> I don't think my app is taking all this RAM, because when I restart it, the
> RAM usage doesn't go down. It does only if I restart Tomcat itself, instead
> of my app running there.
Yes, this is a classic sign of a problem with the app.
Reboot Tomcat, restart yo
On 11/11/2010 19:55, Caldarale, Charles R wrote:
> From: Brian [mailto:bbprefix-m...@yahoo.com]
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
>
>> > Yes, in a Finally block. This is what I do:
> I presume you mean you call your closeRsStmt() meth
> -Original Message-
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Sent: Thursday, November 11, 2010 02:39 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> -BEGIN PGP SIGNED MESS
From: Brian [mailto:bbprefix-m...@yahoo.com]
Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
> Yes, in a Finally block. This is what I do:
I presume you mean you call your closeRsStmt() method in a finally block, since
there certainly aren't any finally clauses
sys.com]
> Sent: Thursday, November 11, 2010 02:32 PM
> To: Tomcat Users List
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> > From: Brian [mailto:bbprefix-m...@yahoo.com]
> > Subject: RE: Tomcat 6.0.29 using more and more RAM until it c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/11/2010 2:26 PM, Brian wrote:
> I'm using it properly. After I perform a SQL sentence, I close the objects
> (result set, then its statement).
http://blog.christopherschultz.net/index.php/2009/03/16/properly-handling-pooled-jdbc-connect
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
On 11/11/2010 1:54 PM, Brian wrote:
> I don't think my app is taking all this RAM, because when I restart it, the
> RAM usage doesn't go down.
That doesn't necessarily mean that your webapp isn't using all that heap
space: it's very easy for a
> From: Brian [mailto:bbprefix-m...@yahoo.com]
> Subject: RE: Tomcat 6.0.29 using more and more RAM until it collapses?
> After I perform a SQL sentence, I close the objects
> (result set, then its statement).
In a finally block? If not, you'll leave them open when an
onnections.
> -Original Message-
> From: Ben Souther [mailto:b...@souther.us]
> Sent: Thursday, November 11, 2010 02:06 PM
> To: Tomcat Users List
> Subject: Re: Tomcat 6.0.29 using more and more RAM until it collapses?
>
> The most common cause of this, that I've seen
From: Brian [mailto:bbprefix-m...@yahoo.com]
> Subject: Tomcat 6.0.29 using more and more RAM until it collapses?
> I don't think my app is taking all this RAM
It is.
> when I restart it, the RAM usage doesn't go down.
Classic symptom of a webapp leaking memory due to
The most common cause of this, that I've seen is the failure to properly
close all database connections. If you're using the container managed
connection pooling, it is possible that restart your app won't free the
ram consumed by any orphaned connections.
Without seeing everthing you're doing ev
Hi,
In my Linux machine, I'm using the JVM version 1.6.0_11-b03. On top of that,
I only run Tomcat 6.0.29. On that Tomcat installation, I'm running a couple
of sites, both of them use exactly the same code, actually it is the same
WAR. So they are two apps, but we could consider them as one.
T
66 matches
Mail list logo