React 前端导航

Doris 启动 BE 报错:file descriptors limit is too small

Doris 启动 BE 报错:file descriptors limit is too small

测试环境启动 BE 失败,提示如下:

E1216 10:50:15.593854  9129 storage_engine.cpp:419] File descriptor number is less than 60000. Please use (ulimit -n) to set a value equal or greater than 60000
W1216 10:50:15.593933  9129 storage_engine.cpp:181] check fd number failed, error: Internal error: file descriptors limit is too small
W1216 10:50:15.593942  9129 storage_engine.cpp:103] open engine failed, error: Internal error: file descriptors limit is too small
F1216 10:50:15.594342  9129 doris_main.cpp:199] fail to open StorageEngine, res=file descriptors limit is too small

解决办法

修改 /etc/security/limits.conf, 执行命令:

echo "* soft nofile 204800" >> /etc/security/limits.conf
echo "* hard nofile 204800" >> /etc/security/limits.conf
echo "* soft nproc 204800" >> /etc/security/limits.conf
echo "* hard nproc 204800 " >> /etc/security/limits.conf

修改 /etc/sysctl.conf, 执行命令:

echo fs.file-max = 6553560 >> /etc/sysctl.conf

重启BE服务器,重启BE进程

注:此解决办法不适用在docker中启动的BE,docker 中启动的 BE 遇到此问题, 上面的方法不能解决,可参考: https://www.cnblogs.com/JenningsMao/p/9209689.html

声明:本网站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。邮箱:farmerlzj@163.com。 本站原创内容未经允许不得转载,或转载时需注明出处: 内容转载自: React前端网:https://qianduan.shop/blogs/detail/32
想做或者在做副业的朋友欢迎加微信交流:farmerlzj,公众号:生财空间站。

#doris#be#file descriptors limit

相关推荐

Doris 部署,启动 FE 报错:

错误提示:java.io.IOException: the self host 172.31.26.7 does not equal to the host in ROLE file 172.17.0.1. You need to set “priority_networks” config in fe.conf to match the host 172.17.0.1

Doris-1.4.2 Linux 直接编译问题记录

在 AWS 上的 EC2 直接编译 Doris,本文主要记录按官方文档操作直接编译过程中遇到的问题,方便查询。