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

            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: [email protected]
          Reporter: [email protected]

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="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
----------  -----  -----  -----  -----  -----  -----

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

Reply via email to