Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!van-bc!ubc-cs!alberta!calgary!cpsc!schock From: schock@cpsc.ucalgary.ca (Craig Schock) Newsgroups: comp.sys.next Subject: Re: How do I shrink the swapfile (easily...) Summary: Swapfile Woes... Message-ID: <2558@cs-spool.calgary.UUCP> Date: 28 Feb 90 21:22:40 GMT Sender: news@calgary.UUCP Lines: 23 Last week, our swapfile decided to grow to 41 megs (from 21 megs). The reason it did this hasn't yet been determined, but this occurrance made me come up with some way of shrinking the file. I rebooted the system (single user) and I killed off some of the unnecessary processes. I then executed: mkfile 20M /private/vm/swapfile and this seemed to do the trick. What I want to know is ... Is there an EASIER way to bring the swapfile back down to size? Since we are on a 330 Meg HD with only 58 Megs free a jump in the size of the swapfile from 21 megs to 41 megs can cause some problems. Most VM systems I've worked with don't have a "growing" swapfile so this little incident came as a little of a shock. Thanks in advance ======================================================================== Craig Schock schock@cpsc.UCalgary.CA University of Calgary (More reliable ->) schock@flip.cpsc.UCalgary.CA ========================================================================