Inconsistent reporting of swap usage on Solaris 8.

From: Russell Page (russellpage@hotmail.com)
Date: Wed Aug 03 2005 - 01:07:13 EDT


We have a couple of Sun V880s running Solaris 8 and Trendmicro's "Internet
Web Security Suite." We are seeing some weird, load related issues on these
systems.
# tail -1 /var/adm/messages
Aug 3 14:59:01 hermes tmpfs: [ID 518458 kern.warning] WARNING: /tmp: File
system full, swap space limit exceeded
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d1 1016122 147457 807698 16% /
/dev/md/dsk/d3 4129290 91269 3996729 3% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/md/dsk/d5 15633131 5230069 10246731 34% /var
swap 7344 8 7336 1% /var/run
swap 56672 49336 7336 88% /tmp
/dev/dsk/c1t2d0s0 35009161 1294740 33364330 4% /quarantine
/dev/dsk/c1t4d0s0 35009161 891907 33767163 3% /spool
/dev/md/dsk/d6 10080200 2891314 7088084 29% /opt
# swap -l
-bash: fork: Not enough space
# exec sh
# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c1t0d0s1 118,1 16 8389632 8389632
# vmstat 5 3
procs memory page disk faults cpu
r b w swap free re mf pi po fr de sr m1 m3 m5 m6 in sy cs us sy
id
0 0 0 8934768 7400112 15 222 0 4 4 0 0 1 0 21 0 2570 1319 2492 14 8
78
3 0 0 8192 6892760 5 392 0 3 3 0 0 0 0 0 0 6659 239835 8803 54 45
2
5 0 0 7440 6892616 5 316 0 3 3 0 0 0 0 1 0 7231 230647 9188 54 44
1
#

Notice that fork() fails - implies no memory. The size of the /tmp file
system is tiny, but swap -l and vmstat both report large amounts of free
swap space.

Any ideas of what might be going on? Lots of processes locking themselves
into physical RAM? Some other mystery?

-- Russell Page.

Certified Solaris Network Administrator
Freudian slip: When you intend to say one thing but you say your mother.
_______________________________________________
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:31:14 EDT