Summary: Where did swap go?

From: R. Marc Baldus (rbaldus@e-one.com)
Date: Wed Jul 14 2004 - 14:47:06 EDT


Summary:

I was not using the proper tool for monitoring swap. The df command
does not provide a reliable method for viewing the status of used swap
space.

I will be keeping an eye on this server for it to happen again. When it
does, I will be looking closely at the swap -s, swap -l, and vmstat
command results. I will also be watching the output from top.

Thanks for the excellent help!

Marc B.

***********************************************
Original Post
***********************************************

Managers,

I have a web server that looses swap space without warning. Is this a
patching issue? Or could it be worse?

Sun V100
550MHz CPU
512MB RAM
Solaris 8 Generic_108528-19
Apache 1.3.27 with SSL

Results of df -k during the problem:
swap 748504 24 748480 1% /var/run

Results of df -k immediately after reboot:
swap 4581496 24 4581472 1% /var/run

# grep swap /etc/vfstab
/dev/dsk/c0t2d0s3 - - swap - no -
swap - /tmp tmpfs - yes -

TIA,
Marc B.
_______________________________________________
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:29:05 EDT