home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!torvalds
- From: torvalds@klaava.Helsinki.FI (Linus Torvalds)
- Subject: Re: "No free inodes - contact linus" 0.99pl0 kernel
- Message-ID: <1992Dec23.150126.12552@klaava.Helsinki.FI>
- Keywords: Linux, kernel problem
- Organization: University of Helsinki
- References: <arumble.725111999@extro.ucc.su.OZ.AU>
- Date: Wed, 23 Dec 1992 15:01:26 GMT
- Lines: 31
-
- In article <arumble.725111999@extro.ucc.su.OZ.AU> arumble@extro.ucc.su.OZ.AU (Anthony Rumble) writes:
- >I get this coming up a few times while I was under X running
- >some applications..
- >
- >"no free inodes - contact linus"
- >
- >What does this mean???
-
- The standard 0.99 kernel has allocated only 128 inodes for the whole
- system: this has served surprisingly well, but with the new bigger
- fd_set and up to 256 files open per process, it's no longer very hard to
- run out of inodes. Earlier kernel versions essentially just gave up on
- this and did a kernel panic - resulting in a dead X session. As of
- 0.99, this message means that some process is left waiting for a free
- inode: it will be dead to the world until some other process dies or
- otherwise free's up some system resources.
-
- With 0.99.1 (or just by changing NR_INODE to 256), you get 256 inodes
- available, which is a lot more than it sounds like: you can get pretty
- far with even such a "limited" nr of inodes, as programs tend to re-use
- the same inodes several times (ie many programs share a common working
- directory etc). Also, there is a limit on the system-wide nr of files
- open of 128, so with 256 inodes you should really not see the above
- message.
-
- As with the nr of inodes, the number of files open (128) is actually a
- lot more than it sounds - for similar reasons. Also, running out of
- files isn't that big a problem: it doesn't require a complete shutdown
- of the process, but only results in the ENFILE error.
-
- Linus
-