From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,a86ac093b3a74998 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-01-14 08:54:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail Message-ID: <3E2440C5.F6D74A2E@sysof.ctstate.edu> From: Vic Semaska X-Mailer: Mozilla 4.76 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Swap memory less than 10 percent References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Organization: Connecticut State University System Cache-Post-Path: clnsrv.libraryofconnecticut.org!unknown@csudut1.ctstateu.edu X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Date: Tue, 14 Jan 2003 11:54:29 -0500 NNTP-Posting-Host: 208.47.162.18 X-Trace: news.uswest.net 1042563298 208.47.162.18 (Tue, 14 Jan 2003 10:54:58 CST) NNTP-Posting-Date: Tue, 14 Jan 2003 10:54:58 CST Xref: archiver1.google.com comp.unix.tru64:9384 Markus Pesti wrote: > Since I have updated OS from ver. 4.0 to 5.1A I get the message 'Swap memory > less than 10 percent'. The physical memory is 1280 MB and the swap partition > is about 1600 MB. Is there a chance to avoid this? Before updating OS the > system had only 256 MB physical memory and the same size for the swap > partition. But I had never these problems. > > Markus You increased physical memory without increasing the size of your swapfile. Rule of thumb is the swapfile should be 2-3 times the size of physical memory. You can do either of two things. 1) Increase the size of the swapfile or add another swapfile. 2) It sounds like swap mode is set to eager which reserves space even when it's not needed. You can switch it to 'lazy' mode where it reserves space only when needed. In V5.1A this is a vm parameter called vm-swap-eager which is set to 1 when in eager mode. Set it to 0 for lazy mode. Note that you take the risk of having the system delete processes *at random* should the swapfile fill up. Therefore, option 1 is much preferred. man swapon, sysconfig, sysconfigdb, sysconfigtab for more details. Vic