Re: very high CPU and load...

2009-09-09 Thread André Warnier
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 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

Re: very high CPU and load...

2009-09-09 Thread Tim Funk
you have a config issue. I bet you have 250 apache workers (per server) and 250 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)

Re: very high CPU and load...

2009-09-09 Thread keeplearning
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 Prakash funkman wrote: you have a config issue. I bet you have 250 apache workers (per server) and 250 tomcat

Re: very high CPU and load...

2009-09-09 Thread Peter Crowther
2009/9/9 keeplearning p_sodh...@yahoo.com With what you said, shouldn't 2 tomcat servers handle 500 connections (250 *2)? Your two httpds may not load-balance perfectly - so it's quite possible that both will direct traffic to the same Tomcat server. So, that one Tomcat server may have to

Re: very high CPU and load...

2009-09-09 Thread Tim Funk
At this point, no one on the list will have a clue since we don't know 1) apache version 2) tomcat version 3) type of connector used, mod_proxy_ajp, mod_jk, or mod_proxy_http But if tomcat is saying All threads (250) are currently busy, waiting. - that means it is only configured to handle 250

Re: very high CPU and load...

2009-09-09 Thread keeplearning
I have apache 2.2.3. Not sure how to find the tomcat version. We use mod_proxy_ajp connector. During the test, I see high CPU usage and load on both appservers. So, I don't think it's the issue of everything going to one appserver. With what i read around, increasing maxClients does not help

Re: very high CPU and load...

2009-09-09 Thread Rainer Jung
On 09.09.2009 19:44, keeplearning wrote: I have apache 2.2.3. Not sure how to find the tomcat version. We use mod_proxy_ajp connector. During the test, I see high CPU usage and load on both appservers. So, I don't think it's the issue of everything going to one appserver. With what i read