Feature added by: Sławomir Lach (Lachu)
Feature #320184, revision 1
Title: Session rescue mode
openSUSE Distribution: Unconfirmed
Requested by: Sławomir Lach (lachu)
Partner organization: openSUSE.org
There should exist (optional) way to made rescue of user session possible. Systemd-logind
should use cgroups to preserve memory for session rescue process(for each session some
bulk of memory should been reserved). This memory could be used only by process in specify
cgroup, like process manager, window manager and X server. Other idea is to pause any
process not belongs to privileged cgroup, to avoid problems with CPU/IO usage, when some
keyboard combination was used. Optional idea is to allow use of reserved memory by special
keyboard combination(the same, which pauses process). Access to additional memory could
been made by special kernel call, but I'm not sure this is necessary.
Martin have computer with only 2GiB of memory. He wants to run broken sword installer
gained from gog.com
. System hangs, so he click ctrl+esc, all other processes than window
manager, X and process manager pauses and not paused process could allocate additional
memory. He selects broken process, kill it and click ctrl+esc to bring session work again.
Business case (Partner benefit):
: System could have problems, while a lot of memory are used, so we need to
reserve memory for special purposes.