TOMCAT is getting "eating" my server... or it is my imagination ???
This processes takes lot of time as you can see "8672m" and "5255m".. and it is used by only two sites with JSP DBs.. what can I do to reduce the amount of cpu and memory consumed ?
This processes takes lot of time as you can see "8672m" and "5255m".. and it is used by only two sites with JSP DBs.. what can I do to reduce the amount of cpu and memory consumed ?
Code:
top -c
19:38:27 up 7 days, 20:53, 1 user, load average: 2,26, 2,37, 2,44
234 processes: 231 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 44,1% 0,0% 10,3% 0,0% 0,0% 1,3% 44,0%
cpu00 48,9% 0,0% 31,4% 0,0% 0,3% 0,3% 18,8%
cpu01 18,1% 0,0% 9,1% 0,0% 0,0% 4,9% 67,7%
cpu02 43,4% 0,0% 0,3% 0,0% 0,0% 0,0% 56,1%
cpu03 66,2% 0,0% 0,3% 0,0% 0,0% 0,0% 33,3%
Mem: 2055244k av, 1644976k used, 410268k free, 0k shrd, 87816k buff
972908k actv, 307560k in_d, 24432k in_c
Swap: 2048276k av, 129808k used, 1918468k free 979876k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
3045 tomcat 25 0 28656 1144 572 R 24,8 0,0 8672m 3 jsvc.exec -user tomcat -cp ./bootstrap.jar -Djava.endorsed
2871 tomcat 25 0 28656 1144 572 R 24,7 0,0 5255m 0 jsvc.exec -user tomcat -cp ./bootstrap.jar -Djava.endorsed
1