-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incomplete initialization of user-$UID.slice disturbing per-user resource control #9578
Comments
What does "systemctl status" say on "user-$UID.slice"? Did it find the drop-in? Does |
@poettering Thanks for your response. I will submit the required information with the absolutely untouched installation of systemd 239-5 in Debian unstable running in a systemd-nspawn container runnning on Debian unstable. I removed all of my custom configuration files but my environment still has the symptom with TasksMax = pids.max as below, as well as 9502 and 9512. I think the old UserTasksMax in logind.conf was replaced by
If this symptom does not occur with other installations then I will simply go to the Debian bug tracking system, probably with 9502 and 9512. First of all,
All systemd-related Debian packages (e.g. libnss-systemd) are installed.
Yes, see below. Please note that only TasksMax is set but MemoryHigh isn't as I removed all of my config files.
Yes, see below.
Hope this helps. |
In case of this issue being distro-specific, I created a disk image for qemu/kvm here so that users of other distros can reproduce and investigate this issue. The file is tar+gzipped QCOW2 image file of 600 MB, and it can be used with
If you find this issue being a problem of Debian, please let me know. |
I changed the issue title because @poettering As an additional reporter feedback, I set
The reason behind the above error logs is, in my opinion, that |
The cuase of this issue seems incomplete initialization of
|
Additional information: This issue disappears if |
I am pretty sure this is closed in v241. Let's close this hence. Please reopen/report back if you can reproduce this on v241. |
systemd version the issue has been seen with
239-5 in Debian unstable
Used distribution
Debian unstable running in a systemd-nspawn on debian unstable.
Expected behaviour you didn't see
With configuration
The resource control file
/sys/fs/cgroup/user.slice/user-$UID.slice/memory.high
should be4294967296
Unexpected behaviour you saw
We do not have
/sys/fs/cgroup/user.slice/user-$UID.slice/memory.high
and the resource control is not functioning. I am pretty sure that this issue is just another symptom of 9502 and 9512 because the common workaround prevents this issue from appearing.Steps to reproduce the problem
Enable the unified cgroup hierarchy for systemd.
Make the following file as
/etc/systemd/system/user-.slice.d/memhigh.conf
/sys/fs/cgroup/user.slice/user-$UID.slice/memory.high
The text was updated successfully, but these errors were encountered: