Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2022 15:28:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261277] locate(1) may not work on very large databases
Message-ID:  <bug-261277-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261277

            Bug ID: 261277
           Summary: locate(1) may not work on very large databases
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: wosch@FreeBSD.org

While testing locate(1) with a very large database (>2GB apparent size) I
noticed that it sometimes does not work with mmap (default).

Workaround: use the -s flag and run with stdio library (ca. 30% slower than
mmap).

Note:  you should not be affected by this issue if you have less than 500 mio
files (or < 30TB) on your partition.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261277-227>