<div dir="ltr">Thanks.<div>I have a script in ExecStop in service file.</div><div>In journalctl, The time difference between "Stopping XYZ service " and logs from my script in ExecStop is 42 sec.</div><div>Does that mean systemd itself took long time to start stopping of service . ?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 18, 2016 at 5:36 PM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 18.05.16 16:00, Pradeepa Kumar (<a href="mailto:cdpradeepa@gmail.com">cdpradeepa@gmail.com</a>) wrote:<br>
<br>
> Hi experts,<br>
> I am using systemd v219.<br>
> I need help with a systemd issue that I am seeing.<br>
> I see that some times stopping of service is taking long time (42 sec).<br>
> i checked this in journal logs also.<br>
> is this is known issue ?<br>
> how do i debug this ?<br>
> and any solutions ?<br>
<br>
</span>Well, that depends on the specific service. If a specific service<br>
takes 42s to shut down, then try figuring out what it does. If there's<br>
nothing in the journal, then maybe the service maintains its own logs?<br>
If it does not, see if you can turn on debug logging for it.<br>
<br>
Either way, that's really a question to ask the maintainers of that<br>
service, not to systemd upstream.<br>
<span class="HOEnZb"><font color="#888888"><br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
</font></span></blockquote></div><br></div>