容器启动OceanBase是 ce服务无法启动

【 使用环境 】生产环境Docker
【 OB or 其他组件 】 OB
【 使用版本 】4.3.5-lts
【问题描述】OceanBase 突然连接不上,重启后CE一直无法启动。相关配置
- MINI_MODE=1 # 迷你模式(必需!)
- OB_DATAFILE_SIZE=1G # 数据文件初始大小
- OB_LOG_DISK_SIZE=4G # 日志磁盘大小
- OB_MEMORY_LIMIT=8G # 内存限制
- OB_SYSTEM_MEMORY=3G # 系统保留内存 这个配置是配置再docker-compose上的,启动后一直使用。后面重启的时候因为ob-ce无法启动。没法提升配置(我们会把/root/.obd/cluster映射出来)
【复现路径】重启docker容器
【附件及日志】[ERROR] OBD-1006: Failed to connect to oceanbase-ce

ob不推荐容器化长期运行的,提供一份observer日志看看是什么原因

新用户没法上传附件 我截一段你看下有用没
[2026-01-30 18:11:36.793177] INFO [COMMON] finish_dag_ (ob_tenant_dag_scheduler.cpp:2617) [1176][T1002_MDS_MINI_][T1002][YB42AC9600C8-000649983441FB03-0-0] [lt=0] dag finished(dag_ret=-4184, runtime=17920, dag_cnt=1203, dag_type_cnt=1166, &dag=0x7f25c61ccfb0, dag={ObTabletMergeDag:{ObIDag:, param:{skip_get_tablet:true, merge_type:“MDS_MINI_MERGE”, merge_version:0, ls_id:{id:1}, tablet_id:{id:50506}, exec_mode:“EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, compat_mode:0, min_sstable_end_scn:-1, ctx:{sstable_version_range:{multi_version_start:-1, base_version:-1, snapshot_version:1767478365396234000}, scn_range:{start_scn:{val:1767453841524836001, v:0}, end_scn:{val:1767478365396234000, v:0}}}}, is_inited:true, flush_scn:{val:1767478365396234000, v:0}, generate_ts:“2026-01-30 18:11:18.704811”, mds_construct_sequence:2679})
[2026-01-30 18:11:36.793241] INFO [SERVER] del_task (ob_sys_task_stat.cpp:193) [1176][T1002_MDS_MINI_][T1002][YB42AC9600C8-000649983441FB03-0-0] [lt=61] succeed to del sys task(removed_task={start_time:1769767896775235, task_id:YB42AC9600C8-000649983441FB03-0-0, task_type:19, svr_ip:“172.150.0.200:2882”, tenant_id:1002, is_cancel:false, comment:“MDS_MINI_MERGE;ls_id=1;tablet_id=50506;flush_scn=1767478365396234000;”})
[2026-01-30 18:11:36.793335] INFO [SERVER] add_task (ob_sys_task_stat.cpp:164) [858][T1002_DagSchedu][T1002][Y0-0000000000000000-0-0] [lt=61] succeed to add sys task(task={start_time:1769767896793329, task_id:YB42AC9600C8-000649983441FB0D-0-0, task_type:19, svr_ip:“172.150.0.200:2882”, tenant_id:1002, is_cancel:false, comment:“MDS_MINI_MERGE;ls_id=1;tablet_id=60394;flush_scn=1767478365396234000;”})
[2026-01-30 18:11:36.793362] INFO [COMMON] schedule_one_ (ob_tenant_dag_scheduler.cpp:2188) [858][T1002_DagSchedu][T1002][YB42AC9600C8-000649983441FB0D-0-0] [lt=24] schedule one task(task={this:0x7f25d18045f0, type:53, status:2, dag:{ObTabletMergeDag:{ObIDag:{this:0x7f25d1804030, is_inited:true, type:8, name:“MDS_MINI_MERGE”, id:YB42AC9600C8-000649983441FB0D-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1769767878710033, start_time:1769767896793360, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:7529595035263473534, task_list_.get_size():1, emergency:false, retry_strategy:0}, param:{skip_get_tablet:true, merge_type:“MDS_MINI_MERGE”, merge_version:0, ls_id:{id:1}, tablet_id:{id:60394}, exec_mode:“EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, compat_mode:0, min_sstable_end_scn:-1, ctx:null}, is_inited:true, flush_scn:{val:1767478365396234000, v:0}, generate_ts:“2026-01-30 18:11:18.704811”, mds_construct_sequence:2792}}, priority=“PRIO_COMPACTION_HIGH”, total_running_task_cnt=6, running_task_cnts_=6, limits_=6, adaptive_task_limit=6, task->get_dag()->get_dag_net()=NULL)
[2026-01-30 18:11:36.793125] INFO [STORAGE] init (ob_index_block_builder.cpp:562) [1119][T1002_MDS_MINI_][T1002][YB42AC9600C8-000649983441FB0C-0-0] [lt=17] init sstable index builder(ret=0, data_desc={static_desc:{ls_id:{id:1}, tablet_id:{id:101004}, tablet_transfer_seq:0, merge_type:“MDS_MINI_MERGE”, snapshot_version:1767478365396234000, end_scn:{val:1767478365396234000, v:0}, exec_mode:“EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:1, macro_block_size:2097152, macro_store_size:1887436, micro_block_size_limit:2095976, schema_version:9527, encrypt_id:0, master_key_id:0, encrypt_key:“data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:0, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:“flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:6, rowkey_column_count:4, schema_rowkey_col_cnt:2, full_stored_col_cnt:6, col_desc_array:[column_id=16 {type:“TINYINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=17 {type:“CHAR”, collation:“binary”, coercibility:“INVALID”} order=0, column_id=7 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=8 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=18 {type:“CHAR”, collation:“binary”, coercibility:“INVALID”} order=0, column_id=19 {type:“CHAR”, collation:“binary”, coercibility:“INVALID”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 2197175160, 0, 0, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:0x7f25b81c9390, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}, index_store_desc_={desc:{static_desc:{ls_id:{id:1}, tablet_id:{id:101004}, tablet_transfer_seq:0, merge_type:“MDS_MINI_MERGE”, snapshot_version:1767478365396234000, end_scn:{val:1767478365396234000, v:0}, exec_mode:“EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:1, macro_block_size:2097152, macro_store_size:1887436, micro_block_size_limit:2095976, schema_version:9527, encrypt_id:0, master_key_id:0, encrypt_key:“data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:0, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:“flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:5, rowkey_column_count:4, schema_rowkey_col_cnt:2, full_stored_col_cnt:6, col_desc_array:[column_id=16 {type:“TINYINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=17 {type:“CHAR”, collation:“binary”, coercibility:“INVALID”} order=0, column_id=7 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=8 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=22 {type:“VARCHAR”, collation:“binary”, coercibility:“INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 2197175160, 0, 0, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:0x7f25b81c9390, need_pre_warm:true, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:16384}}, container_store_desc_={static_desc:{ls_id:{id:1}, tablet_id:{id:101004}, tablet_transfer_seq:0, merge_type:“MDS_MINI_MERGE”, snapshot_version:1767478365396234000, end_scn:{val:1767478365396234000, v:0}, exec_mode:“EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:1, macro_block_size:2097152, macro_store_size:1887436, micro_block_size_limit:2095976, schema_version:9527, encrypt_id:0, master_key_id:0, encrypt_key:“data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:0, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:“flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:5, rowkey_column_count:4, schema_rowkey_col_cnt:2, full_stored_col_cnt:6, col_desc_array:[column_id=16 {type:“TINYINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=17 {type:“CHAR”, collation:“binary”, coercibility:“INVALID”} order=0, column_id=7 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=8 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=22 {type:“VARCHAR”, collation:“binary”, coercibility:“INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 2197175160, 0, 0, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:16384}, leaf_store_desc_={static_desc:{ls_id:{id:1}, tablet_id:{id:101004}, tablet_transfer_seq:0, merge_type:“MDS_MINI_MERGE”, snapshot_version:1767478365396234000, end_scn:{val:1767478365396234000, v:0}, exec_mode:“EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:1, macro_block_size:2097152, macro_store_size:1887436, micro_block_size_limit:2095976, schema_version:9527, encrypt_id:0, master_key_id:0, encrypt_key:“data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:0, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:“flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:5, rowkey_column_count:4, schema_rowkey_col_cnt:2, full_stored_col_cnt:6, col_desc_array:[column_id=16 {type:“TINYINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=17 {type:“CHAR”, collation:“binary”, coercibility:“INVALID”} order=0, column_id=7 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=8 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=22 {type:“VARCHAR”, collation:“binary”, coercibility:“INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 2197175160, 0, 0, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable粗体文本

日志没涵盖到启动日志。本地修改了你的权限可以上传了

observerlog.rar (29.7 MB)

日志有问题,解压才几百kb