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

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, not the one for httpd. -Chuck THIS COMMUNICATION

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

Re: very high CPU and load...

2009-09-09 Thread keeplearning
(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 noticing that after 250 users, I start seeing very high CPU

Re: very high CPU and load...

2009-09-09 Thread keeplearning
) 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, shouldn't 2 tomcat servers handle 500 connections (250 *2)? Thanks a lot

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.

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

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:

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 process id, 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,

Re: thread dumps catalina.out

2009-09-02 Thread keeplearning
Sorry. But I didn't understand how using 2 terminals would help me with the questions I posted. Jim Cox-2 wrote: FWIW, I usually do a tail/tee on catalina.out in a term, then do the kill -QUIT tomcat PID from another term, then kill the tail/tee combo which leaves me with a reasonably

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

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 process

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread keeplearning
: keeplearning [mailto:[EMAIL PROTECTED] Subject: Thread Dumps/ Emailing Results... So, do i need to supply process id with this command. Like: kill -3 process id. That's one way to do it. My preference is to use the jstack tool from the JDK, assuming you're running a 1.5 or 1.6 Sun JVM

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 service tomcat restart is enough? Thanks Caldarale, Charles R wrote: From: keeplearning [mailto:[EMAIL