RE: Diagnosing Tomcat Hang

2005-08-15 Thread Kenneth Litwak
etter idea, because I support students who are unable to register for classes because of this. Thanks. Ken . -Original Message- From: Lintang JP [mailto:[EMAIL PROTECTED] Sent: Friday, August 12, 2005 11:53 PM To: Tomcat Users List Subject: Re: Diagnosing Tomcat Hang have U check your

Re: Diagnosing Tomcat Hang

2005-08-12 Thread Lintang JP
have U check your Connector settings, maxAcceptConnection part ? this settings describe maximum connection will be accepted by tomcat, if it's reached, then tomcat will put the rest connection request in hold, waiting for other connection untill they finished. By that time, the tomcat looks "ha

Re: Diagnosing Tomcat Hang

2005-08-12 Thread Radek Wierzbicki
Hi Kenneth, you will have to check your DB connection code and for possible bottlenecks. Does your DB accept enough connections? Any other clues in tomcat log files (also standard output)? --Radek W. Kenneth Litwak wrote: > Hi Radek, > > Below I'm pasting what is at the bottom. I don't see

RE: Diagnosing Tomcat Hang

2005-08-12 Thread Kenneth Litwak
"VM Periodic Task Thread" prio=1 tid=0x080b69a8 nid=0x7cf6 waiting on condition "Suspend Checker Thread" prio=1 tid=0x080b2a50 nid=0x7cf3 runnable : msg -> view: LoadingData : msg -> command: null : msg -> external: null : msg -> forwarding url : /loading_data.j

Re: Diagnosing Tomcat Hang

2005-08-12 Thread Radek Wierzbicki
va:655) > - locked <0x9096cbf0> (a > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) > at java.lang.Thread.run(Thread.java:534) > > "http-8081-Processor40" daemon prio=1 tid=0x0838be20 nid=0x7ed2 in > Object.wait() [8cbae000..8cbaeccc] >

RE: Diagnosing Tomcat Hang

2005-08-12 Thread Kenneth Litwak
util.threads.ThreadPool$ControlRunnable) at java.lang.Object.wait(Object.java:429) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:655) - locked <0x9096c918> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Thread.

RE: Diagnosing Tomcat Hang

2005-08-12 Thread Kenneth Litwak
List Subject: Re: Diagnosing Tomcat Hang Hi. Did you try sending a JVM process a QUIT signal (kill -3)? That will produce a thread dump on a standart output. Do that when your application hangs. From the thread dump you can deduct which thread causes a problem. --Radek W. Kenneth Litwak wrote: >

Re: Diagnosing Tomcat Hang

2005-08-12 Thread Radek Wierzbicki
Hi. Did you try sending a JVM process a QUIT signal (kill -3)? That will produce a thread dump on a standart output. Do that when your application hangs. From the thread dump you can deduct which thread causes a problem. --Radek W. Kenneth Litwak wrote: > I have a Java web app running on tomca

Re: Diagnosing Tomcat Hang

2005-08-12 Thread Martin Wood
i was recently recommended these 2 tools by the good people here http://www.quest.com/jprobe/ http://jakarta.apache.org/jmeter/ but id like to hear if there are other tools and techniques people recommend for debugging and monitoring. thanks martin Kenneth Litwak wrote: I have a Java we

Diagnosing Tomcat Hang

2005-08-12 Thread Kenneth Litwak
I have a Java web app running on tomcat on Linux Red hat on an Intel box with 2 GR of RAM. We're having trouble because the application intermittently hangs. The threads never go anywhere near the max. The CPU usage never goes above 2%. The memory does not get used up. Nevertheless, the tomca