ubuntu20.04系统 RPM包安装的OceanBase_CE-v4.3.4.0 服务一直在重启

【 使用环境 】 测试环境
【 OB or 其他组件 】
【 使用版本 】5.7.25-OceanBase_CE-v4.3.4.0
【问题描述】OceanBase 服务大概15分钟左右会重启一次。

OceanBase是参考https://open.oceanbase.com/blog/15727680594, RPM包安装的

服务器资源:
微信图片_20250326155556

oceanbase状态:
● oceanbase.service - oceanbase
Loaded: loaded (/etc/systemd/system/oceanbase.service; enabled; vendor preset: enabled)
Active: activating (start) since Wed 2025-03-26 15:01:43 CST; 50s ago
Cntrl PID: 33668 (bash)
Tasks: 490 (limit: 28784)
Memory: 3.0G
CGroup: /system.slice/oceanbase.service
├─ 2119 /home/admin/oceanbase/bin/obshell daemon --ip 192.168.1.26 --port 2886
├─ 2152 /home/admin/oceanbase/bin/obshell server --ip 192.168.1.26 --port 2886
├─33668 /bin/bash /home/admin/oceanbase/profile/oceanbase-service.sh start
├─34248 /home/admin/oceanbase/bin/observer
└─34767 sleep 6

3月 26 15:02:06 dahui bash[33668]: the response state is RUNNING
3月 26 15:02:06 dahui bash[33668]: wait 6s and the retry
3月 26 15:02:12 dahui bash[33668]: the response state is RUNNING
3月 26 15:02:12 dahui bash[33668]: wait 6s and the retry
3月 26 15:02:18 dahui bash[33668]: the response state is RUNNING
3月 26 15:02:18 dahui bash[33668]: wait 6s and the retry
3月 26 15:02:24 dahui bash[33668]: the response state is RUNNING
3月 26 15:02:24 dahui bash[33668]: wait 6s and the retry
3月 26 15:02:30 dahui bash[33668]: the response state is RUNNING
3月 26 15:02:30 dahui bash[33668]: wait 6s and the retry

● oceanbase.service - oceanbase
Loaded: loaded (/etc/systemd/system/oceanbase.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2025-03-26 15:02:39 CST; 831ms ago
Process: 33668 ExecStart=/bin/bash /home/admin/oceanbase/profile/oceanbase-service.sh start (code=exited, status=0/SUCCESS)
Main PID: 34248 (observer)
Tasks: 488 (limit: 28784)
Memory: 3.0G
CGroup: /system.slice/oceanbase.service
├─ 2119 /home/admin/oceanbase/bin/obshell daemon --ip 192.168.1.26 --port 2886
├─ 2152 /home/admin/oceanbase/bin/obshell server --ip 192.168.1.26 --port 2886
└─34248 /home/admin/oceanbase/bin/observer

3月 26 15:02:12 dahui bash[33668]: wait 6s and the retry
3月 26 15:02:18 dahui bash[33668]: the response state is RUNNING
3月 26 15:02:18 dahui bash[33668]: wait 6s and the retry
3月 26 15:02:24 dahui bash[33668]: the response state is RUNNING
3月 26 15:02:24 dahui bash[33668]: wait 6s and the retry
3月 26 15:02:30 dahui bash[33668]: the response state is RUNNING
3月 26 15:02:30 dahui bash[33668]: wait 6s and the retry
3月 26 15:02:36 dahui bash[33668]: the response state is SUCCEED
3月 26 15:02:36 dahui bash[33668]: start observer request successfully
3月 26 15:02:39 dahui systemd[1]: Started oceanbase.

1 个赞

ob内存给的3G么,目前ob最小支持可运行内存为6G。看一下lscpu 存在avx指令集么

1 个赞

ob内存是通过配置文件中的 memory_limit 和 system_memory 设置的么

3

启动不久就CRASH,如何解决? - #25,来自 旭辉ytvcs_gaMTgzMTg4NTU3MC4xNzEzMTY0NzM3_ga_T35KTM57DZ*MTc0Mjk3NDM5My44NzEuMS4xNzQyOTc4MDA4LjkuMC4w

可以看下这个