RE: 7.0.4 problem

2010-11-12 Thread Caldarale, Charles R
> From: Anthony J. Biacco [mailto:abia...@formatdynamics.com] > Subject: 7.0.4 problem > Using jmeter to load test my servlet, i see mysql threads held up > indefinately until i get a 'Too many connections' error from mysql. Can you take a thread dump or three and see what everyone's stuck on?

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Brian
Hi Mark, Chris, and all the gurus, I haven't applied this change yet, but something good is happening: Right now, my Tomcat installation is running fine! So given that I havent made any changes to my code, I guess my problem is that sometimes when I stop my website, something goes wrong and not a

Re: RequestDumperFilter improvement

2010-11-12 Thread Ognjen Blagojevic
On 12.11.2010 21:51, Christopher Schultz wrote: 1. "condition". This may cause confusion as it acts the opposite way to AccessLogValve's "condition". 2. "ifSet" or even "if" 3. Give the user a choice: "ifSet" /and/ "ifUnset" (or both!) I like no. 3, to have it both. It's clear and flexibl

7.0.4 problem

2010-11-12 Thread Anthony J. Biacco
Centos 5.5 Linux x64 Mysql connector j 5.1.13 Tomcat 7.0.4 w/apr ajp Mysql cluster 7.1.3 Jdk 1.6.0_21 x64 Anybody aware of any problems with this combination? Using jmeter to load test my servlet, i see mysql threads held up indefinately until i get a 'Too many connections' error from mysql. Aj

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Brian
Hi Chris, I will answer everything here: - In my Heap Memory, the Eden Space is barely used (10MB right now). The survivor space is even less used (1MB right now). But the Tenured Gen space has 120MB right now! In fact, when my JVM start to eat houndreds of MB, most of that goes to the Tenured

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Leon Rosenberg
Hello Brian, maybe I missed half of the communication, but from the other half I got the feeling that you are shooting in the dark. Heap dumps are hard to decipher especially if the internals seems to be unknown ;-) When hunting a memory leak I setup a cron job that performs the same task once an

RequestDumperFilter improvement

2010-11-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I would like to propose a new feature for the RequestDumperFilter that is similar to the AccessLogValve's "condition" setting, except that it is logically opposite: it would be nice to allow a Filter ahead of the RequestDumperFilter in the chain

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Caldarale, Charles R
> 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 control this: org.apache.ja

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Christopher Schultz
-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

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Brian
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! This is the path: Org.apache.jasper.runtime.BodyContentIml [1] of org.apache.jaspe

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Brian
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.0.29 using more and more

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Brian
Byte[401494] = {10,10,10,10,.} This contains the whole 400KB HTML code binaryContent oforg.apache.naming.resources.FileDirContext$FileResource resource of org.apache.naming.resources.CacheEntry [2]of org.apache.naming.resources.CacheEntry[6]

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Caldarale, Charles R
> 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 "path to the GC root": > > > > org.apache.naming.resources.FileDirCo

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Christopher Schultz
-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

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Mark Thomas
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 >

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Christopher Schultz
-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

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Brian
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 org.apache.naming.resources.ProxyDirContext etc

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Caldarale, Charles R
> 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 CONFIDENTIAL AND/OR OTHERWISE

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Mark Thomas
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

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Brian
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 check the content (400kb), it is the image o

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Mark Thomas
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)

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Brian
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), but for now I would love to stop the cache tha

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Mark Thomas
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

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Brian
I found the problem and this time it wasn't my fault! :-) 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 http responses. I mean, I have thousands of static HTML pages in my site. It seems t

Re: Recommendations for (or against) a "hardware" load balancer

2010-11-12 Thread André Warnier
Mark Thomas wrote: On 11/11/2010 14:12, Christopher Schultz wrote: All, I'm looking for a modest load balancer to perform SSL termination and work well with Tomcat's cookie- and URL-based sticky session mechanism. Does anyone have any recommendations? Decent H/W usually cost $$$ If Apache

Re: Client not able with perform client-cert authentication with Tomcat 6.0.29 on APR

2010-11-12 Thread Mark Thomas
On 12/11/2010 16:27, Goo Sam Kong wrote: > Hi > > I am running Tomcat 6.0.29 with JDK 1.6.0_22 on Windows XP. APR/native connector version? SSL re-negotiation wasn't supported until recently and the CVE-2009-3555 fixes further complicate things. > SSLCertificateFile="C:\usr\tomcat\to

Client not able with perform client-cert authentication with Tomcat 6.0.29 on APR

2010-11-12 Thread Goo Sam Kong
Hi I am running Tomcat 6.0.29 with JDK 1.6.0_22 on Windows XP. I changed server.xml as below.

RE: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Brian
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 fin out what "Tenured/Gen" is about > -Original Message- > From: Pid [mailto:p...@pids

Re: Using mod_jk in cluster environment responds HTTP 500

2010-11-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rikslovein, On 11/12/2010 7:19 AM, rikslovein wrote: > I've one apache and two tomcat installed in my server. The communication > happens using AJP 1.3. I'm using the jkmanager URL to activate/deactivate > the tomcat instances. Also, I'm making sure a

Using mod_jk in cluster environment responds HTTP 500

2010-11-12 Thread rikslovein
Greeting, I've one apache and two tomcat installed in my server. The communication happens using AJP 1.3. I'm using the jkmanager URL to activate/deactivate the tomcat instances. Also, I'm making sure atleast one of the two tomcat instance is up when other one is down. The problem is sometimes th

Re: question for next Tomcat 6.0 release

2010-11-12 Thread Mark Thomas
On 12/11/2010 08:55, Pid wrote: On 03/11/2010 15:06, Okubo, Yasushi (TSD) wrote: Hi I am wondering if someone knows about release scheduled for next version : Tomcat v6.0.30 or any release schedule in next six month. I am currently running tomcat 6.0.26 [my development box with single instance

Re: question for next Tomcat 6.0 release

2010-11-12 Thread Pid
On 03/11/2010 15:06, Okubo, Yasushi (TSD) wrote: > Hi > > I am wondering if someone knows about release scheduled for next version > : Tomcat v6.0.30 or any release schedule in next six month. I am > currently running tomcat 6.0.26 [my development box with single instance > configuration] and 6.0

Re: Tomcat 6.0.29 using more and more RAM until it collapses?

2010-11-12 Thread Pid
On 12/11/2010 05:54, Brian wrote: > Hi Pid, > > I did it, but shows no results. > Anyway, it was nice to learn about Jconsole. > > Now I wonder what is the tool I could use to inspect the objets inside my > app, and see which ones are using all the memory. Try VisualVM, another JDK6 tool, but a