Re: Analysing dead threads

2004-11-17 Thread Joseph Shraibman
Is this a redhat 9 box by any chance? Steffen Heil wrote: Hi I have a situation, where a lot of threads seem to stop working right in my servlet. From debug output, I know they entered the servlet but never leave it. My problem is that this never occurs on our development system, but only on the

Analysing dead threads

2004-11-15 Thread Steffen Heil
Hi I have a situation, where a lot of threads seem to stop working right in my servlet. From debug output, I know they entered the servlet but never leave it. My problem is that this never occurs on our development system, but only on the production system. I need to stop tomcat end even do a

Re: Analysing dead threads

2004-11-15 Thread andrew
Hi Stefan, You might want to try kill -3 processid Depending on your JVM you may find a stacktrace in STDERR (STDIO?) or in a seperate file in the directory where you started the JVM Depending on the version of Tomcat you are running, you may also want to have a look at the manager application:

RE: Analysing dead threads

2004-11-15 Thread Dale, Matt
kill -SIGHUP or kill -3 should dump a stack trace into catalina.out. A profiler should also tell you what the threads are up to. Ta Matt -Original Message- From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: 15 November 2004 13:42 To: 'Tomcat Users List' Subject: Analysing dead threads

Re: Analysing dead threads

2004-11-15 Thread Peter Lin
just for clarification. Do you mean zombie threads? Threads that are not reachable, but still running. My advice would be to download a profiler and figure out the cause. peter On Mon, 15 Nov 2004 14:42:14 +0100, Steffen Heil [EMAIL PROTECTED] wrote: Hi I have a situation, where a lot of

Re: Analysing dead threads

2004-11-15 Thread andrew
Hi Peter, A profiler may cause more trouble than help if you try this on a heavily loaded production box. It might be easiest if he first looks at the 'manager' application that comes with tomcat 5. Regards Andrew Peter Lin wrote: just for clarification. Do you mean zombie threads? Threads