[prev in list] [next in list] [prev in thread] [next in thread]
List: systemd-devel
Subject: Re: [systemd-devel] On every 'sysctl enable/disable' Systemd Reload is happening
From: Lennart Poettering <lennart () poettering ! net>
Date: 2019-02-26 10:25:24
Message-ID: 20190226102523.GA4647 () gardel-login
[Download RAW message or body]
On Mo, 25.02.19 11:05, Mahesh Mylarappa (maheshmylar@gmail.com) wrote:
> Hi,
>
> I am working on Linux host which has old 219 systemd build. We are trying
> to create/enable/start multiple service instances at same time. Basically
> we create 15 to 20 unit files in /etc/systemd/system directory and call
> 'systemctl enable' on each one of them. There is only 30 to 50ms gap
> between each enable commands and i could see few of those taking 10s of
> seconds to complete. If i put log level to debug, i could see that every
> time a new 'sysctl enable' is fired for new service instance, there is
> complete reload happening and queued jobs are cancelled and reissued.
>
> I understand build 219 is very old, but wanted to know if there was a
> similar issue which was fixed in later builds.
Use --no-reload for the enable operations you want to do, and then
finally issue "systemctl daemon-reload" once.
Lennart
--
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic