home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / sysadmin / 5103 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.7 KB  |  44 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!suite!usenet
  3. From: suite!tarbell@uunet.uu.net
  4. Subject: Re: help! /private/vm/swapfile 44MB. How to shrink it?
  5. Message-ID: <BuC1Dw.3rI@suite.com>
  6. Sender: usenet@suite.com (Usenet)
  7. Reply-To: suite!tarbell@uunet.uu.net
  8. Organization: Suite Software, Anaheim CA.
  9. References: <1992Sep7.215151.2517@metrosoft.com>
  10. Date: Wed, 9 Sep 1992 22:34:43 GMT
  11. Lines: 31
  12.  
  13. In article <1992Sep7.215151.2517@metrosoft.com> gvh@metrosoft.com (Gordon  
  14. Van Huizen) writes:
  15. > In article <1992Sep7.041747.10597@ccsun7.csie.nctu.edu.tw>  
  16. > jypai@ccnext.csie.nctu.edu.tw writes:
  17. > > I ran Movie.
  18. > > then I found I was  running out of disk space.
  19. > > So I checked /private/vm/swapfile with 'ls -l', and found:
  20. > > 
  21. > > -rw------t  1 root     44195840 Sep  7 12:12 swapfile
  22. > > 
  23. > > Obviously the swapfile eat up my disk space.
  24.  
  25. The swapfile not only cannot shrink, it cannot reuse space in
  26. the file expanded for another app: It uses what space it can 
  27. in the 1st 20meg, then creates a new expansion region for the 
  28. currently running app.
  29.  
  30. Overall, it keeps expanding when more is needed by the app, even 
  31. if the file is 100 megabytes! This is why, should the swapfile
  32. expand, it expands to such great sizes (you'd think 100 meg
  33. would be enough for almost anything...).
  34.  
  35. This can be demonstrated easily by running an app which
  36. increases the swapfile, killing the app, and running it
  37. again. You'll see the swapfile grow every time:
  38.  
  39.  swapfile     110372510  Sep 09 15:15  -rw------   1  root  wheel
  40.  
  41. This is a HUGE bug that NeXT apparently still hasn't addressed,
  42. even in 3.0.  When you have to reboot your file server every couple 
  43. of days, it gets old quickly.  This is just plain poor design.
  44.