SUMMARY: Safely Increasing Swap Space

From: Sumair Mahmood <Sumair.Mahmood_at_qlogic.com>
Date: Fri Jan 11 2002 - 12:20:23 EST
=================
ORIGINAL QUESTION
=================

The problem was that swap -l was not reporting any change in the percent
usage of my primary swap space (a disk slice), when the secondary swap
space (a file) was deleted and the re-created to make it larger.


=================
RELEVANT FEEDBACK
=================

With sincere gratitude to John R., Johan, Carlo M., Daniel W., Hendrik
V., Ian R., David F., Khalil H., and many others!

Quite often, Solaris has stuff in swap it doesn't need but it keeps it
hanging around "just in case".  Chances are, it's simply deleted
un-needed information either in the deleted swap space or in RAM.  In
short, if nothing crashes or complains, you're almost certainly fine.

...If all your swap was heavily used, the operation to remove would
fail... If your swap is heavily used and you are restricted in terms of
available disk space, you sometimes need to reboot into single-user mode
to be able to configure new swap, but the commands themselves are safe,
they check the swap file usage and will move the swap pages before the
operation completes.

Add a *disk* to use as swap space if possible. Using a swap *file* is
incredibly inefficent, and should only be used as a temporary measure.

Why making the file bigger? Why not just add a second/ third/ fourth
swapfile???

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Sumair Mahmood
 Unix Systems Administrator

 Today I can only please one person.
 Today is not your day.
 Tomorrow is not looking good, either.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jan 11 11:19:48 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:32 EST