Re: Linus Email-address

Oskar Pearson (oskar@is.co.za)
Tue, 16 Sep 1997 21:47:56 +0200


Hi

> i got a kernel-error: kernel: VFS no free inodes - contact linus

> Could anyone give me a hint ????????
You should be able to increase the relevant values by echoing values to /proc.
Check what inode-max says (this will show you the maximum available on your
system):

cat /proc/sys/kernel/inode-max
12288

Then see how many you are actually using:
cat /proc/sys/kernel/inode-nr
2736 1941

if the numbers of close together, just increase the maximum, like this:

(the file numbers and inode numbers normally increase in the same ratio...
so if you double inodes, you should double file-max, and vs versa)

/bin/echo 4096 >/proc/sys/kernel/file-max
/bin/echo 12288 > /proc/sys/kernel/inode-max

you can check how close to file-max you are getting by typing:
cat /proc/sys/kernel/file-max

Oskar