[systemd-devel] systemd "hangs" for several minutes on shutdown if it gets "service force-reload" request

Tomasz Torcz tomek at pipebreaker.pl
Fri Jan 14 00:58:42 PST 2011


On Fri, Jan 14, 2011 at 09:19:34AM +0100, Tollef Fog Heen wrote:
> ]] Lennart Poettering 
> 
> | > What I wonder in this case, why vnstat.service/reload appears to hang
> | > in this case? The job itself fails during startup (initscript is
> | > disabled, so it gets indirect request from ifup and does nothing):
> | 
> | Does this probelm still exist?
> | 
> | Most likely this is simply an ordering deadlock: systemd executes
> | something that asks systemd to execute something else which however is
> | order after the first unit. That is is not really fixable. At least I
> | am have no idea what we could do about this.
> 
> We should at least print out/log what's happening when this happens.
> 
> Slightly related, it'd be really nice if we could have a way to poke
> systemd to dump state.  I'm trying to track down a problem where boot
> takes a while, and spawning extra shells and using serial consoles kinda
> work, but it doesn't work that great.

“       SIGUSR2
           When this signal is received the systemd manager will log its complete 
           state in human readable form. The data logged is the same as printed by systemctl dump.
”

-- 
Tomasz Torcz                                                       72->|   80->|
xmpp: zdzichubg at chrome.pl                                          72->|   80->|



More information about the systemd-devel mailing list