[Bug 261277] locate(1) may not work on very large databases

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Jan 2022 15:28:48 UTC
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.