home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / software / 924 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  984 b 

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!menudo.uh.edu!karazm.math.uh.edu!matt
  2. From: matt@karazm.math.uh.edu (Matt Emerson)
  3. Newsgroups: comp.sys.next.software
  4. Subject: avoiding swapfile problems
  5. Summary: put a hiwat on the size of your swapfile
  6. Message-ID: <1992Jul31.031852.26803@menudo.uh.edu>
  7. Date: 31 Jul 92 03:18:52 GMT
  8. Sender: usenet@menudo.uh.edu (USENET News System)
  9. Organization: UH Dept of Math
  10. Lines: 14
  11. Nntp-Posting-Host: karazm.math.uh.edu
  12.  
  13. A good way to avoid having the swapfile grow to fill your disk is to put
  14. something like the following in /etc/swaptab
  15.  
  16. /private/vm/swapfile    lowat=20971520,hiwat=42000000
  17.  
  18. This way, the swapfile won't get any bigger than the value you set for hiwat.
  19. I seem to remember that it's important not to add any spaces between
  20. the comma or equals sign and their surrounding words.
  21.  
  22. When you reboot, the system will truncate the swapfile to whatever lowat is.
  23. -matt
  24. --
  25. Matt Emerson
  26. matt@karazm.math.uh.edu
  27.