Thanx to all who responded
Gert-Jan
Andy Cohen
Derk Tegeler
It looks like the kernel allocates the swap space because I am using the
immediate mode (a.k.a. deferred, over commitment swap), which is somehow
better that the lazy mode.
It is not in my hands to free it, it will be free'd and available when the
process is done.
In the immediate mode, the swap space is reserved to the process so whenever
the process needs swap space, it will find it, while in deferred mode, there
is a probability that the process will not find available swap space when it
needs it..
MKMA
Original message follows:
"
How can I free the swap space?
As you see below, I have 78% Reserved swap space...Can I free them so they
can move to the Available space??
Swap partition /dev/rz16b (default swap):
Allocated space: 665742 pages (5201MB)
In-use space: 504585 pages ( 75%)
Free space: 161157 pages ( 24%)
Total swap allocation:
Allocated space: 665742 pages (5201MB)
Reserved space: 525378 pages ( 78%)
In-use space: 504585 pages ( 75%)
Available space: 140364 pages ( 21%)
"
Received on Tue Apr 03 2001 - 14:49:09 NZST