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.
Increase maxThreads (250) or check the servlet status"



top - 00:31:21 up 138 days,  7:44,  0 users,  load average: 20.68, 14.47,
6.99
Tasks:  88 total,   2 running,  86 sleeping,   0 stopped,   0 zombie
Cpu(s): 95.1%us,  2.5%sy,  0.0%ni,  0.9%id,  0.0%wa,  0.1%hi,  1.4%si, 
0.0%st
Mem:  16439088k total,  3260004k used, 13179084k free,   187148k buffers
Swap:  2031608k total,        0k used,  2031608k free,  1528756k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
                                                              
 4771 tomcat    16   0 3119m 1.3g  25m S  396  8.2  41:56.61 java               
                                                              
    1 root      18   0 10308  660  552 S    0  0.0   0:01.54 init               
                                                              
    2 root      RT   0     0    0    0 S    0  0.0   0:00.07 migration/0        
                                                              
    3 root      34  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/0        
                                                              
    4 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0         
                                                              
    5 root      RT   0     0    0    0 S    0  0.0   0:00.05 migration/1        
                                                              
    6 root      34  19     0    0    0 S    0  0.0   0:00.00 ksoftirqd/1        
                                                              
    7 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/1         
   
-- 
View this message in context: 
http://www.nabble.com/very-high-CPU-and-load...-tp25358279p25358279.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to