pod 或container 现象

container_linux.go:349

error: OCI runtime create failed: container_linux.go:349

1、问题思路

一般碰到这种问题大部分都是本地配置、Dockerfile、docker run 参数

配置文件、打开文件链接数

查开namepspace

cat /proc/sys/user/max_user_namespaces

grep -w 'runc:\[1:CHILD\]: page allocation failure' /var/log/messages | tail -n 4

2、关注内核参数

net.ipv4.ip_forward=1

vm.swappiness=0

fs.file-max=9000000

fs.inotify.max_user_watches = 1000000

fs.inotify.max_user_instances=10240

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐