完成 72绵阳项目 71雄安集团监管平台 大量优化更新
This commit is contained in:
31
71-202601-XA监管平台/doris-deploy/修改pvc-然后statefulset中的image.txt
Normal file
31
71-202601-XA监管平台/doris-deploy/修改pvc-然后statefulset中的image.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
|
||||
修改PVC文件
|
||||
修改全部的NAMESPACE
|
||||
修改statefulset里面的IMAGE
|
||||
|
||||
|
||||
# BE出现下面的错误
|
||||
like
|
||||
* soft nofile 655350
|
||||
* hard nofile 655350
|
||||
and then run 'ulimit -n 655350' to take effect on current session.
|
||||
|
||||
需要修改 ContainerD的Service
|
||||
|
||||
/lib/systemd/system/containerd.service
|
||||
|
||||
[Service]
|
||||
LimitNOFILE=655350 <<<
|
||||
LimitNPROC=infinity
|
||||
LimitMEMLOCK=infinity
|
||||
EOF
|
||||
|
||||
# 2. 重新加载并重启 containerd
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart containerd
|
||||
|
||||
# 3. 验证 containerd 的限制
|
||||
ps aux | grep containerd | grep -v grep
|
||||
cat /proc/$(pgrep containerd | head -1)/limits | grep "open files"
|
||||
# 应该显示: Max open files 655350 655350 files
|
||||
Reference in New Issue
Block a user