lkml.org 
[lkml]   [2005]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
Sonny Rao wrote:

> Over one million files open at once is just asking for trouble on a
> lowmem-crippled x86 machine, IMHO.

I don't think there actually are. I ran the testcase under strace, and
it appears that there are two threads going at once.

thread 1 spins doing the following:
fd = creat("./rename14", 0666);
unlink("./rename14");
close(fd);

thread 2 spins doing:
rename("./rename14", "./rename14xyz");

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

\
 
 \ /
  Last update: 2005-09-21 23:03    [W:0.067 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site