[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #33207] updatedb (findutils-locate) has a memory leak on large nfs
From: |
Eric Blake |
Subject: |
[bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete |
Date: |
Fri, 20 May 2011 23:57:54 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17 |
Follow-up Comment #12, bug #33207 (project findutils):
Yes, POSIX is explicit that if a directory is modified during reading,
readdir() might return an entry zero times (the new entry was inserted prior
to the point where readdir is traversing) or more than once (adding an entry
reshuffled other entries, such that a previously read entry now falls after
the point where readdir is traversing); and it is made worse by the fact that
readdir is allowed to cache multiple entries rather than making a syscall on
ever readdir() call. That is, there is no atomicity with directory reading,
and portable apps have to be prepared for the worst.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33207>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, (continued)
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, anonymous, 2011/05/14
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, James Youngman, 2011/05/14
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, anonymous, 2011/05/16
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, James Youngman, 2011/05/16
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, anonymous, 2011/05/17
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, anonymous, 2011/05/17
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, anonymous, 2011/05/18
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, anonymous, 2011/05/18
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, anonymous, 2011/05/19
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, James Youngman, 2011/05/20
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete,
Eric Blake <=
- [bug #33207] updatedb (findutils-locate) has a memory leak on large nfs mounts, the index is not complete, anonymous, 2011/05/21