Re: [RFC v2 3/6] kthread: warn on kill signal if not OOM

From: Jiri Kosina
Date: Tue Sep 09 2014 - 18:00:46 EST


On Tue, 9 Sep 2014, Luis R. Rodriguez wrote:

> By design it seems systemd should not allow worker processes to block
> indefinitely and in fact it currently uses the same timeout for all
> types of worker processes.

And I whole-heartedly believe this is something that fundamentally needs
to be addressed in systemd, not in the kernel.

This aproach is actually introducing a user-visible regressions. Look, for
example, exec() never times out. Therefore if your system is on its knees,
heavily overloaded (or completely broken), you are likely to be able to
`reboot' it, because exec("/sbin/reboot") ultimately succeeds.

But with all the timeouts, dbus, "Failed to issue method call: Did
not receive a reply" messages, this is getting close to impossible.

--
Jiri Kosina
SUSE Labs

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/