We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A repro
"pids": { "limit": 55 }
in the linux.resources section, and a long-lived process such as sleep.
linux.resources
# runc --systemd-cgroup run -d keke
# systemctl show runc-keke.scope | grep 'Task' TasksCurrent=2 TasksAccounting=yes TasksMax=55 # cat /sys/fs/cgroup/system.slice/runc-keke.scope/pids.max 55
# runc --systemd-cgroup update keke --pids-limit 66
# systemctl show runc-keke.scope | grep 'Task' TasksCurrent=2 TasksAccounting=yes TasksMax=55 # cat /sys/fs/cgroup/system.slice/runc-keke.scope/pids.max 66
As we can see, the kernel and the systemd is now in disagreement about the limit.
# systemctl show runc-keke.scope | grep 'Task' TasksCurrent=2 TasksAccounting=yes TasksMax=77 DropInPaths=/run/systemd/transient/runc-keke.scope.d/50-TasksMax.conf # cat /sys/fs/cgroup/system.slice/runc-keke.scope/pids.max 77
In the above example, we set/check/update pids.limit, but all the other resources behave in a similar way.
The cause of this is Set() method of systemd.UnifiedManager, which only uses fsManager to set the updated values.
Set()
systemd.UnifiedManager
The text was updated successfully, but these errors were encountered:
This might also be pointed out to at #2007
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
A repro
in the
linux.resources
section, and a long-lived process such as sleep.# runc --systemd-cgroup run -d keke
# runc --systemd-cgroup update keke --pids-limit 66
As we can see, the kernel and the systemd is now in disagreement about the limit.
In the above example, we set/check/update pids.limit, but all the other resources behave in a similar way.
The cause of this is
Set()
method ofsystemd.UnifiedManager
, which only uses fsManager to set the updated values.The text was updated successfully, but these errors were encountered: