Ethen John wrote:
hi all,
I have a linux server which is running 2 similar instances of Tomcats 7.
Each of the tomcat instances has the exact same web application (.war)
deployed.
The application is not actively used by the users, but the behavior of the
application on both the tomcat instances is looking very sluggish.
I checked the memory utilization of the server machine, which is as
follows:
top - 12:47:20 up 182 days, 43 min, 1 user, load average: 0.09, 0.16, 0.15
Tasks: 226 total, 1 running, 225 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1%us, 0.2%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 15529M total, 11474M used, 4054M free, 485M buffers
Swap: 16383M total, 0M used, 16383M free, 9633M cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7866 root 0 -20 43036 12m 2640 S 12 0.1 2479:02 scopeux
1 root 20 0 10548 824 692 S 0 0.0 1:41.80 init
2 root 20 0 0 0 0 S 0 0.0 0:00.16 kthreadd
3 root 20 0 0 0 0 S 0 0.0 3:09.18 ksoftirqd/0
5 root 20 0 0 0 0 S 0 0.0 15:56.61 kworker/u:0
…
Just a little thing here : under "top", if you enter "F" and then "n", it will show the
processes in the order of memory usage. Did you do that ?
(I am asking because I see no "java" processes above, and they tend to come on top of the
list when there are any).
=========================
yyy@xxx:~> free -m
total used free shared buffers cached
Mem: 15529 11469 4059 0 485 9633
-/+ buffers/cache: 1350 14178
Swap: 16383 0 16383
======================
yyy@xxx:~> df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg00-rootvol 5.0G 1.4G 3.4G 29% /
udev 7.6G 220K 7.6G 1% /dev
tmpfs 24G 0 24G 0% /dev/shm
/dev/sda1 510M 48M 437M 10% /boot
/dev/mapper/vg00-homevol 992M 12M 929M 2% /home
/dev/mapper/vg00-tmpvol 2.0G 201M 1.7G 11% /tmp
/dev/mapper/vg00-varvol 7.9G 319M 7.2G 5% /var
/dev/mapper/vg00-crashvol 2.0G 68M 1.9G 4% /crashdump
/dev/mapper/vg00-auditvol 248M 11M 226M 5% /var/log/audit
/dev/mapper/vg00-optvol 12G 1.5G 9.8G 13% /opt
/dev/mapper/vg00-webdienste 99G 3.7G 95G 4% /webdienste
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org