Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2022 09:39:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 266410] Locate database update scripts runs even it is disabled in periodic.conf
Message-ID:  <bug-266410-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266410

            Bug ID: 266410
           Summary: Locate database update scripts runs even it is
                    disabled in periodic.conf
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: sgubdsbeerf@asmco.de

What is happening?
I observed several times a find command running over my ZFS data pool
and causing many read operations. I disabled updating the locate database
in periodic.conf but it seems to run nevertheless.

What do I expect to happen?
Not to run if it is disabled.

How to reproduce?
Set weekly_locate_enable to NO in /etc/periodic.conf and monitor IO
operations and the process list.

Further information

$ grep locate /etc/periodic.conf
weekly_locate_enable=3D"NO"

PID  PPID COMMAND
93005 92862 /bin/sh /usr/libexec/locate.updatedb
93611 93005 find -s / ! ( -fstype msdosfs -or -fstype zfs ) -prune -or -path
/tmp -prune -or -path /usr/tmp -prune
93636 93005 /bin/sh /usr/libexec/locate.mklocatedb -presort

pool        alloc   free   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
zdata       4.21T  3.05T    713     29  3.19M   540K
zroot       4.25G   105G      0     12      0   115K
----------  -----  -----  -----  -----  -----  -----

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



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