Swap Availability ?

From: Nigel.R.Owen@aib.ie
Date: Thu May 08 2003 - 09:03:16 EDT


Rather a long Email but if any one can explain where the swap has gone or
how to find it or even if it has gone it would be greatly appreciated.

 ... I have issues with swap on the box Solaris 2.6 E450. It has 3GB Ram
and running commands such as

# sar -g
# vmstat

show that the system is not paging the page daemon is not active but when
running commands such as swap

# swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d1 85,1 16 3482144 0

Showing that all of swap is used, additionally the top command shows that
all of swap is used.

But when I run the command with a -s it shows it is available.

# swap -s
total: 2713968k bytes allocated + 143144k reserved = 2857112k used,
1382344k available

I also run the command

# se swap.se
ani_max 217634 ani_resv 217634 ani_free 17876 availrmem 217432
swapfs_minfree 48276
ramres 169156 swap_resv 217634 swap_alloc 199758 swap_avail 169156
swap_free 187032

Misleading data printed by swap -s
1598064 K allocated + 143008 K reserved = 1741072 K used, 1353248 K
available
Corrected labels:
1598064 K allocated + 143008 K unallocated = 1741072 K reserved, 1353248 K
available

Mislabelled sar -r 1
freeswap (really swap available) 2706496 blocks

Useful swap data: Total swap 3021 M
available 1321 M reserved 1700 M Total disk 1700 M Total RAM 1321 M

On a box which should be identical, OS, hardware and application configured
the same the values are different as it shown by ..

ani_max 217634 ani_resv 217634 ani_free 8632 availrmem 330233
swapfs_minfree 48276
ramres 281957 swap_resv 217634 swap_alloc 209002 swap_avail 281957
swap_free 290589

Misleading data printed by swap -s
1672016 K allocated + 69056 K reserved = 1741072 K used, 2255656 K
available
Corrected labels:
1672016 K allocated + 69056 K unallocated = 1741072 K reserved, 2255656 K
available

Mislabelled sar -r 1
freeswap (really swap available) 4511312 blocks

Useful swap data: Total swap 3902 M
available 2202 M reserved 1700 M Total disk 1700 M Total RAM 2202 M

Nigel Owen
Midrange Unix Support
Allied Irish Bank

This document is strictly confidential and is intended for use by the
addressee unless otherwise indicated.

Allied Irish Banks

This Disclaimer has been generated by CMDis
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:21 EDT