On Wed, Sep 21, 2005 at 02:59:30PM -0600, Christopher Friesen wrote: > 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"); Ewww.. Looks like a leak due to a race. Does this happen on a non-nfs filesystem ? Thanks Dipankar - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: "Christopher Friesen" <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: Trond Myklebust <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: Al Viro <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- References:
- dentry_cache using up all my zone normal memory
- From: "Christopher Friesen" <[email protected]>
- Re: dentry_cache using up all my zone normal memory
- From: "Christopher Friesen" <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: "Christopher Friesen" <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: Sonny Rao <[email protected]>
- Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- From: "Christopher Friesen" <[email protected]>
- dentry_cache using up all my zone normal memory
- Prev by Date: Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- Next by Date: Re: init and zap low address mappings on demand for cpu hotplug
- Previous by thread: Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- Next by thread: Re: dentry_cache using up all my zone normal memory -- also seen on 2.6.14-rc2
- Index(es):