开发者社区 问答 正文

OceanBase数据库中这个报错什么原因?

"OceanBase数据库中这个报错什么原因?
traceId:bcb534ec-5865-11ee-b11d-000c2965ae4c
6c016e9ec787f6700e27b539aea6580e.png"

展开
收起
十一0204 2023-09-27 00:12:09 87 分享 版权
来自: OceanBase
2 条回答
写回答
取消 提交回答
  • 意中人就是我呀!

    "加入以下配置,重启即可生效
    vim /etc/security/limits.conf
    root hard nofile 20480
    root soft nofile 20480
    退出会话 重新登录 执行ulimit -a 查看是否更改。
    此回答整理至钉群“[社区]技术答疑群OceanBase”"

    2023-09-27 08:03:46
    赞同 展开评论
  • 1、修改内核参数 file-max

    vim /etc/sysctl.conf
    

    加入以下内容,重启生效

    fs.file-max = 102400
    net.nf_conntrack_max = 1024000
    net.netfilter.nf_conntrack_max = 1024000
    

    2、修改 ulimit 的 open file,系统默认的 ulimit 对文件打开数量的限制是 1024

    vim /etc/security/limits.conf
    

    加入以下配置,重启即可生效

    * hard nofile 102400
    * soft nofile 102400
    
    2023-09-27 07:54:42
    赞同 展开评论