【 使用环境 】
内核:
-bash-4.2$ uname -r
3.10.0-957.el7.x86_64
内存大小:
-bash-4.2$ free -g
total used free shared buff/cache available
Mem: 46 9 29 0 7 36
CPU:
-bash-4.2$ cat /proc/cpuinfo |grep processor |wc -l
24
硬盘分区:
-bash-4.2$ df -h |egrep 'data|redo|admin'
/dev/sda7 222G 200G 23G 91% /data
/dev/sda3 98G 11G 88G 11% /home/admin
/dev/sda2 147G 97M 147G 1% /redo
【 OB or 其他组件 】
【 使用版本 】
3.1.1-4
【问题描述】
OBSERVER启动命令如下:
cd ~/oceanbase && bin/observer -i ens192 -p 2881 -P 2882 -z zone1 -d ~/oceanbase/store/obdemo/ -r '172.118.81.151:2882:2881;172.118.81.152:2882:2881;172.118.81.153:2882:2881;' -c 20230718 -n obdemo -o "memory_limit=30G,cache_wash_threshold=3G,__min_full_resource_pool_memory=268435456,system_memory=6G,memory_chunk_cache_size=128M,cpu_count=80,net_thread_count=4,datafile_size=20G,stack_size=1536K,config_additional_dir=/data/obdemo/etc3;/redo/obdemo/etc2"
其中资源配置参数,我试过如下几种
- 不配置任何资源参数
- cpu_count=80
- memory_limit=30G,cache_wash_threshold=3G,__min_full_resource_pool_memory=268435456,system_memory=6G,memory_chunk_cache_size=128M,cpu_count=80,net_thread_count=4,datafile_size=20G,stack_size=1536K,config_additional_dir=/data/obdemo/etc3;/redo/obdemo/etc2
- memory_limit=8G,cache_wash_threshold=1G,__min_full_resource_pool_memory=268435456,system_memory=2G,memory_chunk_cache_size=128M,cpu_count=8,net_thread_count=4,datafile_size=20G,stack_size=1536K,config_additional_dir=/data/obdemo/etc3;/redo/obdemo/etc2
以上几种参数尝试后都会在集群自举过程中报错
obclient [(none)]> alter system bootstrap ZONE 'zone1' SERVER '172.118.81.151:2882', ZONE 'zone2' SERVER '172.118.81.152:2882', ZONE 'zone3' SERVER '172.118.81.153:2882';
ERROR 4015 (HY000): System error
【复现路径】
【问题现象及影响】
【附件】
observer.log (1.5 MB)