Re: beat updatedb over the head?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 19 Jul 2022 09:04:18 -0400
Tom Horsley <horsley1953@xxxxxxxxx> wrote:

> On Tue, 19 Jul 2022 08:48:12 -0400
> Ben Cotton wrote:
> 
> > (If you're fine with it running at midnight, you can use
> > OnCalendar=daily)  
> 
> So maybe if I just changed the "RandomizedDelaySec=12h" in the
> existing unit to something like "RandomizedDelaySec=2h" it would run
> some time between midnight and 2AM, which would probably be good
> enough to keep it out of my way.

I had a similar issue, except that it was running immediately after
boot, performing lots of disk io when I wanted to do other things.  I
changed the updatedb.timer file by adding
OnBootSec=3h
and changed the 
AccuracySec=1h
instead of the 24 hours it had originally.  That starts updatedb
sometime between 2 and 4 hours after boot.  I don't know the internals
of systemd, but I assume that the accuracy means it only checks that
often.

And now it doesn't run immediately after boot.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux