代码拉取完成,页面将自动刷新
容器发生OOM,iSulad未正确设置crictl status reason字段和inspect中OOMKilled字段
一、缺陷信息
iSulad v2.1.5
【问题复现步骤】,请描述具体的操作步骤
通过cri启动容器触发OOMKilled,获取容器status,reason字段可能未被设置为OOMKilled
原因在于iSulad通过监控cgroup文件获取OOM事件,但OOM事件会触发容器cgroup文件被删除,
若cgroup文件删除发生在iSulad处理OOM事件之前, 则无法成功监控到容器cgroup OOM事件
其它容器引擎同样存在该问题
Hi jikai11, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: iSulad, and any of the maintainers: @haomintsai , @JingWoo , @lifeng_isula , @xuxuepeng , @zhongtao , @haozi007 , @jingxiaolu
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论