Thread Dumps/ Emailing Results...

2008-11-01 Thread keeplearning
Hi All, I am a load test engineer and pretty new to tomcat. I would really appreciate if someone can help me with couple of my basic questions: 1) have seen some of my colleagues using kill -3 to take the thread dumps? So, do i need to supply process id with this command. Like: kill -3 . Then do

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread keeplearning
uuencode but still get in the body. 2) We used jstack before but it was not that useful. So, we returned to using kill -3. Will following work? nexec kill -3 Do we need this full command even if i am logged in the server? Thaks for your help Parki Caldarale, Charles R wrote: > >&

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread keeplearning
OK. Actually i also use putty. So, may be i just need kill -3 pid. I can get pid using ps -ef | grep tomcat. One more question: What do i need to do restart tomcat? Someone told me is enough? Thanks Caldarale, Charles R wrote: > >> From: keeplearning [mailto:[EMAIL PROTECTED] &

Thread Names..Which in Important?

2008-11-05 Thread keeplearning
Hi All, I am relatively new to Tomcat. I was looking at thread dumps which we took from Tomcat and I see lots of thread names. Now, I am not sure which one is important to look at. Some of threads I see are as follows: "http-8080-Processor15" "TP-Processor1" WorkerThread(receive_transaction_c

Thread Analyzer

2009-09-02 Thread keeplearning
Hi All, Could anyone tell me which is a good thread analyzer tool for Sun JVMs? We have Apache and Tomcat in our infrastructure. I could see that for IBM JVMs, there are tools provided by IBM for thread and heap dump analysis. -- View this message in context: http://www.nabble.com/Thread-Anal

thread dumps catalina.out

2009-09-02 Thread keeplearning
Hi All, I have a quick question about getting thread dumps. I have been told that if I do kill -3 , it will send the thread dumps to catalina.out. Let say if I run test 1 and take 3 dumps. Then if I run test 2 and 3 more. Do these get appended to first thread dumps I took? If yes, Let say if I

Re: thread dumps catalina.out

2009-09-02 Thread keeplearning
reasonably clean thread dump. > > For example: > > Terminal A: > prompt$ tail -f /usr/local/tomcat/logs/catalina.out | tee > /tmp/tomcat-threads.tmpA > > Terminal B: > prompt$ kill -QUIT 12345 > > > On Wed, Sep 2, 2009 at 2:56 PM, keeplearning wrote: >> &g

Number of threads

2009-09-07 Thread keeplearning
How do I know how many threads are being used during a test run (both tomcat and apache)? We used to have some tools for that but not currently in the new environment. Thanks in advance -- View this message in context: http://www.nabble.com/Number-of-threads-tp25336823p25336823.html Sent from t

very high CPU and load...

2009-09-08 Thread keeplearning
I am running a load test with 2 web (apache) and 2 appservers (tomcat). I am noticing that after 250 users, I start seeing very high CPU usage and very high load. Below is the o/p from top command. I also saw this message in catalina.out: "SEVERE: All threads (250) are currently busy, waiting. Inc

Re: very high CPU and load...

2009-09-09 Thread keeplearning
tomcat workers(per server). > > But there are 500 apache workers (250 * 2). So in the worst case - you > need tomcat to handle 500 connections. > > -Tim > > keeplearning wrote: >> I am running a load test with 2 web (apache) and 2 appservers (tomcat). I >> am &

Re: very high CPU and load...

2009-09-09 Thread keeplearning
But if tomcat is saying All threads (250) are currently busy, waiting. - > that means it is only configured to handle 250 workers. > > -Tim > > keeplearning wrote: >> Where do I see # of apache workers and tomcat workers in the config file? >> With what you said,

Object.Wait() in thread dumps...

2009-09-17 Thread keeplearning
I am running a test and after 500 users or so, I start to see performance degradation. I have Apache as webserver and Tomcat to serve dynamic content. I took the thread dumps and I see most threads are waiting on "Object.Wait" as follows: at java.lang.Object.wait(Native Method) at java.lang.Obj

errors in apache error_log

2009-09-18 Thread keeplearning
I am running a test with Apache webserver. When I have 500 users running, I start seeing following messages in error_log. I looked at top command and I have 2G memory available, CPU is around 50% and doesn't have any swapping going on. Here are the parameters in httpd.conf (earlier it was even low

RE: errors in apache error_log

2009-09-18 Thread keeplearning
Oh sorry...completely skipped my mind. Caldarale, Charles R wrote: > >> From: keeplearning [mailto:p_sodh...@yahoo.com] >> Subject: errors in apache error_log >> >> I am running a test with Apache webserver. > > This is the Tomcat mailing list, no