I have been watching my system closely these last few days and noticed some interesting things. Users were complaining that the system was slow. I have x4 2.8 ghz xeon processors, 4GB of RAM. With these specs I should not run into any problems, however the system is indeed slow. I have run TOP, IOSTAT, FREE, and VMSTAT to try and isolate the problem, all of which point to memory utilization. I rebooted the system yesterday and everthing ran fine, and my memory utilization was moderate. After looking at the system this morning the available memory has shrunk to almost nothing. It appears that a program is grabbing memory and not releasing it, we are also using entirely way to much swap.
Does anyone have any suggestions on how to determine were the memory is alocated?
11:32am up 1 day, 5:03, 182 users, load average: 1.11, 1.08, 1.26
832 processes: 831 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.3% user, 0.4% system, 0.0% nice, 98.3% idle
CPU1 states: 0.1% user, 0.1% system, 0.0% nice, 99.3% idle
CPU2 states: 0.1% user, 0.1% system, 0.0% nice, 99.3% idle
CPU3 states: 1.2% user, 6.0% system, 0.0% nice, 92.1% idle
Mem: 3863192K av, 3858096K used, 5096K free, 124K shrd, 332748K buff
Swap: 2096400K av, 125296K used, 1971104K free 3212548K cached
Does anyone have any suggestions on how to determine were the memory is alocated?
11:32am up 1 day, 5:03, 182 users, load average: 1.11, 1.08, 1.26
832 processes: 831 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.3% user, 0.4% system, 0.0% nice, 98.3% idle
CPU1 states: 0.1% user, 0.1% system, 0.0% nice, 99.3% idle
CPU2 states: 0.1% user, 0.1% system, 0.0% nice, 99.3% idle
CPU3 states: 1.2% user, 6.0% system, 0.0% nice, 92.1% idle
Mem: 3863192K av, 3858096K used, 5096K free, 124K shrd, 332748K buff
Swap: 2096400K av, 125296K used, 1971104K free 3212548K cached