systemctl cat -- user@$(id -u).service: # /usr/lib/systemd/system/[email protected] # SPDX-License-Identifier: LGPL-2.1-or-later # # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version.
[Unit] Description=User Manager for UID %i Documentation=man:[email protected](5) After=user-runtime-dir@%i.service dbus.service systemd-oomd.service Requires=user-runtime-dir@%i.service IgnoreOnIsolate=yes [Service] User=%i PAMName=systemd-user Type=notify-reload ExecStart=/usr/lib/systemd/systemd --user Slice=user-%i.slice KillMode=mixed Delegate=pids memory cpu DelegateSubgroup=init.scope TasksMax=infinity TimeoutStopSec=120s KeyringMode=inherit OOMScoreAdjust=100 MemoryPressureWatch=skip # /usr/lib/systemd/system/[email protected]/10-login-barrier.conf # SPDX-License-Identifier: LGPL-2.1-or-later # # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] # Make sure user instances are started after logins are allowed. However this # is not desirable for [email protected] since root should be able to log in # earlier during the boot process especially if something goes wrong. After=systemd-user-sessions.service # /usr/lib/systemd/system/[email protected]/10-oomd-user-service-defaults.conf [Service] ManagedOOMMemoryPressure=kill ManagedOOMMemoryPressureLimit=50% # /usr/lib/systemd/system/[email protected]/timeout.conf # Avoid long hangs during shutdown if user services fail/hang due to X.org # going away too early [Service] TimeoutStopSec=5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2075104 Title: user session is randomly terminated by systemd-oom when the system is left alone for a while To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2075104/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
