启动OceanBase集群时提示:
open files must be not be less than 20000(Current value: 1024)
配置文件里面的最大文件数设置过小,导致打开文件数超过最大文件数时被阻止。
cat >> /etc/security/limits.conf << EOF * soft nofile 655350 * hard nofile 655350 EOF
ulimit -n
命令返回655350,表示已配置成功。