From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c6c50696a98e1b35 X-Google-Attributes: gidfee84,public From: Patrick O'Rourke USG Subject: Re: why my swap space run low? Date: 1996/06/28 Message-ID: <31D3DAAB.167E@zk3.dec.com>#1/1 X-Deja-AN: 162562652 references: <4qqbsf$10ap@ctsc.hkbc.hk> content-type: text/plain; charset=us-ascii organization: CTG mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.0 (X11; I; OSF1 V4.0 alpha) Wong Pui Ming wrote: > > lately our osf1 (ver 3.0) always got the message > swap space is low. But in fact there are not too many processses > running. I did the swapon -s to see, and got the following > Could some spot what's going on for me please ? It appears as if your system is running in 'eager' swap mode. This means that for every page of virtual memory allocated, there must be a corresponding page of swap space to back it up (in the event the system may need to page it out). Did you run 'swapon -s' at the time you were getting the low swap space messages? Was there an application attempting to allocate a large region of virtual memory? As an alternative to adding more swap space, you can run in 'lazy' swap mode by renaming the symbolic link '/sbin/swapdefault' and then reboot. In lazy swap mode the system does not reserve swap space until it actually needs it (i.e. at page out time). One caveat about running in lazy swap mode is if you do exhaust your swap space while swapping out a process, that process will be killed. Pat -- Patrick O'Rourke (603) 881-0124 orourke@zk3.dec.com Office: ZK3/3S05