home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21523 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.9 KB  |  43 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: "No free inodes - contact linus" 0.99pl0 kernel
  5. Message-ID: <1992Dec23.150126.12552@klaava.Helsinki.FI>
  6. Keywords: Linux, kernel problem
  7. Organization: University of Helsinki
  8. References: <arumble.725111999@extro.ucc.su.OZ.AU>
  9. Date: Wed, 23 Dec 1992 15:01:26 GMT
  10. Lines: 31
  11.  
  12. In article <arumble.725111999@extro.ucc.su.OZ.AU> arumble@extro.ucc.su.OZ.AU (Anthony Rumble) writes:
  13. >I get this coming up a few times while I was under X running
  14. >some applications..
  15. >
  16. >"no free inodes - contact linus"
  17. >
  18. >What does this mean???
  19.  
  20. The standard 0.99 kernel has allocated only 128 inodes for the whole
  21. system: this has served surprisingly well, but with the new bigger
  22. fd_set and up to 256 files open per process, it's no longer very hard to
  23. run out of inodes.  Earlier kernel versions essentially just gave up on
  24. this and did a kernel panic - resulting in a dead X session.  As of
  25. 0.99, this message means that some process is left waiting for a free
  26. inode: it will be dead to the world until some other process dies or
  27. otherwise free's up some system resources. 
  28.  
  29. With 0.99.1 (or just by changing NR_INODE to 256), you get 256 inodes
  30. available, which is a lot more than it sounds like: you can get pretty
  31. far with even such a "limited" nr of inodes, as programs tend to re-use
  32. the same inodes several times (ie many programs share a common working
  33. directory etc).  Also, there is a limit on the system-wide nr of files
  34. open of 128, so with 256 inodes you should really not see the above
  35. message. 
  36.  
  37. As with the nr of inodes, the number of files open (128) is actually a
  38. lot more than it sounds - for similar reasons.  Also, running out of
  39. files isn't that big a problem: it doesn't require a complete shutdown
  40. of the process, but only results in the ENFILE error. 
  41.  
  42.         Linus
  43.