[systemd-devel] Regarding service rate limiting (systemd 237)

Michal Koutný mkoutny at suse.com
Fri Jul 22 13:42:01 UTC 2022


On Fri, Jul 22, 2022 at 06:14:11PM +0530, Ani A <aniruddha.a at gmail.com> wrote:
> Found the issue, posting here to close this thread (and possibly help
> someone who might land in this situation!)

Thanks for sharing.

> The daemon which had issues with rate-limit, was invoking some
> `systemctl stop/start <other-daemon>`
>  commands in its initialization! (probably this has some unwanted side effects?)

Timing comes to my mind that could affect that.

> If I eliminate that, then the rate-limit on the main daemon works fine! :)

Yeah, better use explicit dependencies (Wants=/After=) instead of such a
call-back.

Michal


More information about the systemd-devel mailing list