containerd的运维记录

containerd限制corefile生成,防止大量占用磁盘空间。也会引起性能问题。

1
2
3
4
 sed -i 's/LimitCORE=infinity/LimitCORE=0/g' /etc/systemd/system/containerd.service
[root@k-n1 ~]# sudo systemctl daemon-reload
[root@k-n1 ~]# sudo systemctl restart containerd
[root@k-n1 ~]#  sed -i 's/LimitCORE=infinity/LimitCORE=0/g' /etc/systemd/system/containerd.service
Licensed under CC BY-NC-SA 4.0
最后更新于 Jan 06, 2025 05:52 UTC
comments powered by Disqus
Built with Hugo
主题 StackJimmy 设计
Caret Up