Need help with a strange /tmp swap issue in 2.6

From: am.lists (am.lists@gmail.com)
Date: Thu Apr 26 2007 - 21:38:46 EDT


I'm in a bit of a strange situation with a legacy box. It's running
2.6. The hardware is a 420R.

It has two 36G drives locally: c0t0d0 and c0t0d1.

The format of d0 looks like this:

Part Tag Flag Cylinders Size Blocks
 0 root wm 0 - 5807 8.00GB (5808/0/0) 16779312
 1 swap wu 5808 - 8711 4.00GB (2904/0/0) 8389656
 2 backup wu 0 - 24619 33.92GB (24620/0/0) 71127180
 3 usr wm 8712 - 24616 21.91GB (15905/0/0) 45949545
 4 unassigned wu 0 0 (0/0/0) 0
<snip>

Swap is thus c0t0d0s1, 4GB in size.

My relevant lines of /etc/vfstab shows:

/dev/dsk/c0t0d0s1 - - swap - no -
swap - /tmp tmpfs - yes -

Running swap -l shows:
#swap -l

swapfile dev swaplo blocks free
/dev/dsk/c0t0d0s1 32,1 16 4194272 4194176

BUT df -k shows swap as hardly any space available:

Filesystem kbytes used avail capacity Mounted on
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
swap 15904 120 15784 1% /tmp

AND I'm getting the "out of swap" error in my syslog:
unix: WARNING: /tmp: File system full, swap space limit exceeded

This is driving me nuts. I'll summarize any good answers to this. I
know 2.6 is old, and I've mostly managed 2.8 boxes, so I won't promise
that I've not overlooked something elementary.

-Angelo
_______________________________________________
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:41:54 EDT