Am 19.02.21 um 15:50 schrieb Marc Haber:
On Fri, 19 Feb 2021 10:34:45 +0100, Florian Lohoff <f...@zz.de> wrote:All locate variants are a PITA on servers, especially when virtualized. Imagine a 100+ VM hypervisor at 6:30 starting an updatedb job on all VMs in parallel. I debugged stuff like that for customers so yes - This problem is real.We really need such things to run from systemd-cron with a sufficient random spread to defuse this kind of load spikes in virtualized environments, yes.
plocate already ships a native .timer unit, so all it would take is to add RandomizedDelaySec= to plocate-updatedb.timer with a reasonably chosen value.
https://www.freedesktop.org/software/systemd/man/systemd.timer.html#RandomizedDelaySec= Regards, Michael
OpenPGP_signature
Description: OpenPGP digital signature