测试环境
AnolisOS-8.6-x86_64-minimal.iso
Virtual Box,4 vCPU, 16G RAM, 60 vDisk
注1:OceanBase 数据库要求的资源比较多
注2:OceanBase 数据库要求操作系统为 3.10.0 及以上
系统环境
配置 limits.conf
vi /etc/security/limits.conf
root soft nofile 655350
root hard nofile 655350
* soft nofile 655350
* hard nofile 655350
* soft stack unlimited
* hard stack unlimited
* soft nproc 655360
* hard nproc 655360
* soft core unlimited
* hard core unlimited
配置 sysctl.conf
vi /etc/sysctl.conf
fs.aio-max-nr=1048576
net.core.somaxconn = 2048
net.core.netdev_max_backlog = 10000
net.core.rmem_default = 16777216
net.core.wmem_default = 16777216
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.ip_local_port_range = 3500 65535
net.ipv4.ip_forward = 0
net.ipv4.c

最低0.47元/天 解锁文章
1301

被折叠的 条评论
为什么被折叠?



