SMMARY OF SUMMARY: swap space

From: Jiang Wei <jiang_at_ebu.ch>
Date: Mon, 24 Mar 2003 18:01:05 +0100

Hi managers,

After my previous summary, a lot of people tell me to pay attention with
"lazy swap", since it will "delete" jobs picked to be swapped out when the
machine run out of swap space, and could be causes strange things to happen.

Now, we have found out the "crimial" process who take all our swap space,
and do the necessary. Specially set back vm-swap-eager to 1.

Thanks again for all folks kindly reply to me.

> All of them tell us that I should use "lazy swap" instead of
> preallocated mod.

> by using a command: /sbin/sysconfig -q vm vm_swap_eager to show the
> value

> and by edit /etc/sysconfigtab

> vm:
> swapdevice = /dev/disk/dsk0b
> vm-swap-eager = 0

> set vm-swap-eager = 0 instead of 1.

> A very useful command also:
> fuser -c /dev/disk/dsk0b
> fuser -c /dev/disk/dsk2b

> to show process using swap.


> Thanks again for all of them.


> My origial message is below:

> ----------------------------------------------------------------------
> ------
> ----------

> Dear Managers,

> We have a Alpha 4000 with Tru64 V 5.1A, patched recently with
> t64v51ab21as0004-20030206.tar, but we noticed that the server has a
> swapon space below 10 % free shown at console,see below:

> But there are no special process turn on, this message come even after
> a reboot. There are nothing special either at crontab. Is there a
> method to determine which process take all this swap space?

> Any help would be appreciate, Thanks in advanced.

> bash-2.04# swapon -s
> swap space below 10 percent free
> Swap partition /dev/disk/dsk0b (default swap):
> Allocated space: 70552 pages (551MB)
> In-use space: 1 pages ( 0%)
> Free space: 70551 pages ( 99%)

> Swap partition /dev/disk/dsk2b:
> Allocated space: 76781 pages (599MB)
> In-use space: 1 pages ( 0%)
> Free space: 76780 pages ( 99%)


> Total swap allocation:
> Allocated space: 147333 pages (1.12GB)
> Reserved space: 147009 pages ( 99%)
> In-use space: 2 pages ( 0%)
> Available space: 324 pages ( 0%)



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************
Received on Mon Mar 24 2003 - 17:13:17 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT