Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory stats and sleeping process

Status
Not open for further replies.

cheer8923

Programmer
Aug 7, 2006
230
US
We have a program which is mostly computation and it runs fine on most of machine. On one server, it could not finish. Top shows it as D in top (uninterruptible sleep).

Top/vmstat is showing 0 swap space -- all as memory cached. However, there is plenty of physical memory. Is there anything wrong?

Thanks!

---- Top

Mem: 1550148k av, 618284k used, 931864k free, 0k shrd, 181572k buff
285036k active, 119416k inactive
Swap: 0k av, 0k used, 0k free 201716k cached

----vmstat
procs memory swap io system cpu
r b swpd free buff cache si so bi bo in cs us sy wa id
0 0 0 933636 181748 201832 0 0 0 1 0 0 0 0 0 1
 
Your CPU stats are strange

Off hand, hard to tell what's causing it.
Try nmon (great tool for AIX and Linux!!)

Check the Kernel stats, VM stats

Also check the kernels swap setting. Maybe someone changed the defaults?
sysctl -a | grep swap
"net.ipv4.route.flush"
vm.swap_token_timeout = 300
vm.swappiness = 60


"If you always do what you've always done, you will always be where you've always been."
 
Your memory stats show that you have 1.5 GB of total RAM, of which 920KB has not been used yet. Usage is approximately 175KB used as buffers, 195KB used for cache, and the remainder is what your programs are actually using (1500 - 920 - 175 - 195), which is about 210 KB.

The reason your system shows zero swap space is because you have no swap space enabled and/or configured. Look at your /etc/fstab and see if there is any swap configured. If yes, then run 'swapon -s' and see if it shows any swap as being available. If no, then run 'swapon -a' which should try to mount any swap that is configured in /etc/fstab. Then use the first command to see if it enabled any swap.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top