lkml.org 
[lkml]   [1999]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.2.0pre6 leaking inodes?
Hi,

On Fri, 15 Jan 1999 14:51:04 +0800 (WST), Matt Kemner
<kemner@live.networx.net.au> said:

> Hi all
> Perhaps I'm doing something wrong, but it seems to me the 2.2.0pre6 kernel
> is leaking inodes like crazy..

> I keep increasing the number in /proc/sys/fs/inode-max (and file-max as
> well to keep the ratio the same as suggested in the documentation) but
> everytime I do, within hours it reaches that limit again..

The kernel caches inodes. If you increase the maximum size of the
inode table, then it will continue to grow. :)

However, for nr_inodes to exceed max_inodes, we must be failing to reap
the inode cache aggressively enough. What sort of load are you running
under?

The simple cure is not to increase inode-max. The kernel will still let
the inode cache grow above inode-max if it really neads to, but will
reap things much more aggressively above that limit.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.031 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site