home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25200 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.7 KB  |  35 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
  3. From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
  4. Subject: Re: Freeze up on X
  5. Message-ID: <1993Jan23.091550.11013@klaava.Helsinki.FI>
  6. Organization: University of Helsinki
  7. References: <1993Jan21.181502.23485@miles.com> <BALASUB.93Jan22093232@iguana.cis.ohio-state.edu> <1993Jan23.002154.17904@novell.com>
  8. Date: Sat, 23 Jan 1993 09:15:50 GMT
  9. Lines: 24
  10.  
  11. In article <1993Jan23.002154.17904@novell.com> dvogt@novell.com (David Vogt) writes:
  12. >
  13. >I have had a number of problems with X freezing when pushed too hard.
  14. >I have 16M ram + 16M swap and have experienced lockups when swap approachs
  15. >0k.
  16.  
  17. Yes - apart from the bug in pl3 which did result in some lockups for
  18. some people, there is actually a problem when swap-space is exhausted
  19. (or nearly so).  It's not something I have put a lot of thought in: it's
  20. hard to handle gracefully, and my general opinion has been "add more
  21. swapspace" (yes, it's possible to have more than 16MB swap even with the
  22. current kernel: you'll just have to spread it out over several
  23. swap-areas) or just "don't do that then" :)
  24.  
  25. When swap-space is completely exhausted, linux usually handles memory
  26. management pretty badly: it *should* actually kill off a couple of
  27. processes eventually to free up some memory, but the keyword here is
  28. "eventually".  I've gotten reports that it can take up to an hour before
  29. linux decides to kill off processes due to lack of memory, and even then
  30. the processes killed are essentially random (ie it could be the X
  31. server).  So it's best to try to avoid the "out of memory" problem
  32. entirely, and not count on linux working without enough mem. 
  33.  
  34.         Linus
  35.