This is How-do-I-force-the-swapfile-to-shorten? in view mode; [Up]
Date: Sun 01-Dec-1991 18:32:04 From: jeffo@ux1.cso.uiuc.edu (J.B. Nicholson) Subject: How do I force the swapfile to shorten? How do I get the swapfile (which is currently hogging 13MB of space on my 105MB HD) down to the lowater mark? I've tried rebooting, that doesn't work. It stays at the same length. I've tried *eek* copying the null device to it: (as root) cp /dev/null /private/vm/swapfile That made it zero in length, but when I rebooted it, it never came back to the lowater level (whatever it is set up as by NeXT). I've got 24MB ram, but still there are times when the swapfile grows and hinders my system performance. Quitting all apps and logging out doesn't do the trick either. Any shell commands I can do to help? Thanks.
Date: Sun 03-Dec-1991 03:14:27 From: barb@nugget.rmNUG.ORG (Barb Dyker) Subject: Re: How do I force the swapfile to shorten? In article <1991Dec1.183204.904@ux1.cso.uiuc.edu> jeffo@uiuc.edu writes: >How do I get the swapfile (which is currently hogging 13MB of space >on my 105MB HD) down to the lowater mark? > I presume that you have a lowat defined in /etc/swaptab. If not, the default is zero which means never shrink. BTW, don't set your high water mark less than the amount of physical memory that you have. It can cause problems. Barbara J. Dyker L a b y r i n t h ===================================================================== Senior Operations Consultant Computer Services Barb.Dyker@Labyrinth.COM PO Box 4626 (303)441-8288 Boulder, CO 80306
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.