Skip to content

Conversation

@qiongsiwu
Copy link

@qiongsiwu qiongsiwu commented Sep 10, 2019

First of all, mstat is a fantastic tool and it may turn out to be life saving for me.

That said, when running mstat on Ubuntu 18.04, I noticed that I am getting errors along the line of
2019/09/10 09:26:24 NewPoller: poll: cg.Stat: open /sys/fs/cgroup/memory/mstat-50217553c85dcda3/memory.memsw.usage_in_bytes: no such file or directory

The fix is following this post
containerd/cgroups#5

And it seems the problem is gone. A bit more documentation is also added. I am new to both cgroup and golang so I am not sure if what I have done is sensible at all. But at least mstat is reporting reasonable numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant