[ERROR] ocp-express start failed

[ERROR] 192.168.0.67: failed to connect meta db

[ERROR] ocp-express start failed
observer.rar (642.8 KB)

[2024-05-14 16:24:02.540345] ERROR try_recycle_blocks (palf_env_impl.cpp:763) [32676][T1001_PalfGC][T1001][Y0-0000000000000000-0-0] [lt=24][errcode=-4264] Log out of disk space(msg=“log disk space is almost full”, ret=-4264

df -h && free -h
另外可以通过数据库:
select a.zone, a.SVR_IP,a.SVR_PORT, b.status,cpu_capacity,cpu_assigned_max,cpu_capacity-cpu_assigned_max as cpu_free,round(memory_limit /1024/1024/1024 ,2) as memory_total_gb,round((memory_limit-mem_capacity) /1024/1024/1024 ,2) as system_memory_gb,round(mem_assigned /1024/1024/1024 ,2) as mem_assigned_gb,round((mem_capacity-mem_assigned) /1024/1024/1024 ,2) as memory_free_gb,round(log_disk_capacity /1024/1024/1024 ,2) as log_disk_capacity_gb,round(log_disk_assigned /1024/1024/1024 ,2) as log_disk_assigned_gb,round((log_disk_capacity-log_disk_assigned) /1024/1024/1024 ,2) as log_disk_free_gb,round((data_disk_capacity /1024/1024/1024 ),2) as data_disk_gb,round((data_disk_in_use /1024/1024/1024 ),2) as data_disk_used_gb,round((data_disk_capacity-data_disk_in_use) /1024/1024/1024 ,2) as data_disk_free_gb from gv$ob_servers a join oceanbase.DBA_OB_SERVERS b on a.zone=b.zone\G;

*************************** 1. row ***************************
zone: zone1
SVR_IP: 192.168.0.67
SVR_PORT: 2882
status: ACTIVE
cpu_capacity: 16
cpu_assigned_max: 6
cpu_free: 10
memory_total_gb: 27.00
system_memory_gb: 5.00
mem_assigned_gb: 12.00
memory_free_gb: 10.00
log_disk_capacity_gb: 90.00
log_disk_assigned_gb: 32.00
log_disk_free_gb: 58.00
data_disk_gb: 300.00
data_disk_used_gb: 110.31
data_disk_free_gb: 189.69
1 row in set (0.004 sec)

看下

obd cluster stop/start 执行后提供下obd日志(~/.obd/log/obd)
observer.log是最新的嘛?

show parameters LIKE ‘%log_disk_size%’;

show parameters like ‘%datafile%’ ;

show parameters LIKE ‘%memory%’;
看下

obd.rar (121.0 KB)

observer.rar (3.5 MB)


我调大过log_dike_size,看起来没生效

*************************** 1. row ***************************
zone: zone1
SVR_IP: 192.168.0.67
SVR_PORT: 2882
status: ACTIVE
cpu_capacity: 16
cpu_assigned_max: 6
cpu_free: 10
memory_total_gb: 27.00
system_memory_gb: 5.00
mem_assigned_gb: 12.00
memory_free_gb: 10.00
log_disk_capacity_gb: 71.00
log_disk_assigned_gb: 32.00
log_disk_free_gb: 39.00
data_disk_gb: 300.00
data_disk_used_gb: 100.03
data_disk_free_gb: 199.97
1 row in set (0.030 sec)

这个看下 ,是单机嘛?

单机

什么方式调整的呢。试试obd cluster edit-config的方式试试呢

alter system set log_disk_size=‘80G’;

试试

看log_disk_free_gb: 39.00 还有40那。不应该呀