-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
pids.max cgroup return "max", runc events broken on master #663
Comments
systemd whyyyyyyyyy you troll me |
I get correct results on master:
|
ugh what is your systemd version, i have
|
ok so its not the json that is the problem, like if i have a container w the systemd.slice json (aka created with master) and use the v0.9 binary to run events for that container it works, but runc events master just hangs |
this is the weirdest bug ever |
@jfrazelle I'm about to try this. Let you know in a couple of mins |
thanks I can't tell if im going insane |
also i get this when checking the max
|
so if I dont set pids limit in my config I get |
@jfrazelle works for me:
|
you dont have pids cgroup, i figured out the problem its #663 (comment) |
@jfrazelle good catch. Using old kernels has it's advantages |
@jfrazelle Sorry, this was my fault. There's a fix in #644. Basically, it's because I forgot to account for the string "max" so parsing fails. The reason it wasn't merged sooner is because there was some discussion about what value we should return to represent "max". |
oh nice i had opened one too :) but your will hopefully get in first! I closed mine :) |
@jfrazelle Can we close this now that #644 is merged? :) |
thanks for reminding me sorry |
Thanks! No worries :) |
If I run
runc events
on master it just hangsI git bisected it to 2b1e086
but I cant tell why that broke it...
But on master my cgroups path in /run/runc/container_name/state.json is:
whereas on v0.9 it is correctly:
The text was updated successfully, but these errors were encountered: