【环境信息】
系统:arm虚拟机 内存:4g
cpu:4核
OS版本:21.03
[root@localhost ~]# cat /etc/openEuler-latest
openeulerversion=openEuler-21.03
compiletime=2021-03-04-21-04-09
gccversion=9.3.1-20210204.16.oe1
kernelversion=5.10.0-4.6.0.18.oe1
openjdkversion=1.8.0.282.b08-5.oe1
【问题复现步骤】
cat /proc/1/cgroup | grep files
查看是否有类似10:files:/的返回值
【预期结果】
有如下返回值
[root@localhost ~]# cat /proc/1/cgroup |grep files
10:files:/
【实际结果】
没有返回值
[root@localhost ~]# cat /proc/1/cgroup |grep files
[root@localhost ~]#
Hey Classicriver_jia, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
合入补丁集解决:
0a960e73136d fs: fix files.usage bug when move tasks
b27ad1302a11 files_cgroup: fix error pointer when kvm_vm_worker_thread
bf8f0cc2c8ee fs/filescontrol: add a switch to enable / disable accounting of open fds
c15452babf94 cgroup/files: use task_get_css() to get a valid css during dup_fd()
9331053ce238 cgroups: Resource controller for open files
8b9cff8c3d49 openeuler_defconfig: enable CONFIG_CGROUP_FILES by default
登录 后才可以发表评论