RE: Tomcat randomly hangs - new info

2007-01-26 Thread Caldarale, Charles R
> From: Brian Cross [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat randomly hangs - new info > > 7010.198: [Full GC > [PSYoungGen: 157504K->157504K(206656K)] > [PSOldGen: 699071K->699071K(699072K)] > 856575K->856575K(905728K) > [PSPermGen: 115222K->115222K(

Re: Tomcat randomly hangs - new info

2007-01-26 Thread Brian Cross
Well after turning on vebose garbage collect I found out what the "hang" really is. For some reason the garbage collector gets in a state where it tries to do a full GC but cannot for some unknown reason. Here is what the verbose gc looks like on the hang: 7007.950: [Full GC [PSYoungGen: 157

Re: Tomcat randomly hangs

2007-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, Brian Cross wrote: > Good idea, I have not tested the memory. The only tool I found was > memtest86 but it looks like you need access to the machine to use it. Memtest86 is really the way to go. > Unfortunately the machine is in another stat

Re: Tomcat randomly hangs

2007-01-26 Thread Leon Rosenberg
brian, another option would be to try to reproduce this behaviour on another , similar, machine. Tried it? Leon On 1/26/07, Brian Cross <[EMAIL PROTECTED]> wrote: Good idea, I have not tested the memory. The only tool I found was memtest86 but it looks like you need access to the machine to u

Re: Tomcat randomly hangs

2007-01-26 Thread Brian Cross
: Tomcat randomly hangs Hello and thanks in advance for any advice. We have Tomcat 5.5.20 running standalone on the following system: Dual AMD Opteron 4 gig of memory Debian Linux 2.6.8 amd64 smp kernel latest sun java 1.5, 1.6, ibm 1.5 (happens on all 3 VM's) Tomcat 5.5.20 (originally happen

RE: Tomcat randomly hangs

2007-01-26 Thread Peter Crowther
> From: Brian Cross [mailto:[EMAIL PROTECTED] > The only tool I found was > memtest86 but it looks like you need access to the machine to > use it. > Unfortunately the machine is in another state and I just > manage it via > ssh. I will see if I can find any other tools that I can run > vi

Re: Tomcat randomly hangs

2007-01-26 Thread Brian Cross
Good idea, I have not tested the memory. The only tool I found was memtest86 but it looks like you need access to the machine to use it. Unfortunately the machine is in another state and I just manage it via ssh. I will see if I can find any other tools that I can run via ssh. Thanks. Leo

Re: Tomcat randomly hangs

2007-01-26 Thread Brian Cross
Cross [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 7:23 PM To: users@tomcat.apache.org Subject: Tomcat randomly hangs Hello and thanks in advance for any advice. We have Tomcat 5.5.20 running standalone on the following system: Dual AMD Opteron 4 gig of memory Debian Linux 2.6.8 amd64

RE: Tomcat randomly hangs

2007-01-26 Thread Zsolt Koppany
Did you try: export LD_ASSUME_KERNEL=2.2.5 or export LD_ASSUME_KERNEL=2.4.1 tomcat start Zsolt > -Original Message- > From: Brian Cross [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 25, 2007 7:23 PM > To: users@tomcat.apache.org > Subject: Tomcat randomly hangs

Re: Tomcat randomly hangs

2007-01-25 Thread Leon Rosenberg
On 1/26/07, Brian Cross <[EMAIL PROTECTED]> wrote: Thanks for the suggestion Stefan. Yes I have run JConsole and will look at it some more. When the hang happens JConsole stops responding as well. Brian, have you actually tested the memory of the machine? Leon Stefan Baramov wrote: > Sin

Re: Tomcat randomly hangs

2007-01-25 Thread Brian Cross
Thanks for the suggestion Stefan. Yes I have run JConsole and will look at it some more. When the hang happens JConsole stops responding as well. Stefan Baramov wrote: Since you all are using Java 5 why do you try to enable JMX. JConsole could give you a good insight on threads. It could even

Re: Tomcat randomly hangs

2007-01-25 Thread Stefan Baramov
Since you all are using Java 5 why do you try to enable JMX. JConsole could give you a good insight on threads. It could even provide thread dump or possibly detect deadlock. - Stefan - To start a new topic, e-mail: users@tomcat.

Re: Tomcat randomly hangs

2007-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, Leon Rosenberg wrote: > maybe you should perform a full thread dump in normal state, and check > whether this very long running requests result in hanging threads? > Then you are probably out of threads at some point and no more > connections ca

Re: Tomcat randomly hangs

2007-01-25 Thread Leon Rosenberg
maybe you should perform a full thread dump in normal state, and check whether this very long running requests result in hanging threads? Then you are probably out of threads at some point and no more connections can be created. You have no "SEVERE All Threads busy" in your catalina.out by chance?

Re: Tomcat randomly hangs [SECOND INQUIRY]

2007-01-25 Thread Leon Rosenberg
you shouldn't hijack threads, please start a new one. However, one quick shot: 2.4 kernel usually doesn't have nptl support, which means that you can maximum have something like 500 threads in tomcat (depending on how many other threads exist in your app). Another question, is it a et64 xeon? if s

Re: Tomcat randomly hangs

2007-01-25 Thread Brian Cross
Christopher, thanks for the reply. Yes I have checked all the logs and there are no warnings or errors when the hang occurs. You are right that since the VM appears to hang, fronting with apache may not help but it would rule out the Coyote connector at least. One other thing I did notice is t

Re: Tomcat randomly hangs

2007-01-25 Thread Derek Wormdahl
We are experiencing similar behavior with Tomcat 5.5.17 running standalone: Dual 3.0GHz Xeon 4GB memory RHEL AS 3 Linux 2.4.21-47.0.1.ELsmp #1 SMP Fri Oct 13 17:56:20 EDT 2006 i686 i686 i386 GNU/Linux BEA jrockit-R26.0.0-jdk1.5.0_04 This has become a big problem for us as well so I would also

Re: Tomcat randomly hangs

2007-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, Brian Cross wrote: > I would really appreciate any advice, I really don't know where to go > from here to try and figure it out. If I can't figure it out soon my > plan is to use apache2 as the webserver and connect to tomcat via JK. You didn

Tomcat randomly hangs

2007-01-25 Thread Brian Cross
Hello and thanks in advance for any advice. We have Tomcat 5.5.20 running standalone on the following system: Dual AMD Opteron 4 gig of memory Debian Linux 2.6.8 amd64 smp kernel latest sun java 1.5, 1.6, ibm 1.5 (happens on all 3 VM's) Tomcat 5.5.20 (originally happened on 5.5.16, upgrade didn'