OBD-2000: (127.0.0.1) not enough memory

Get local repositories ok
Open ssh connection ok
Check for standby tenant ok
Search plugins ok
Cluster status check ok
obproxy work dir cleaning ok
grafana work dir cleaning ok
prometheus work dir cleaning ok
obagent work dir cleaning ok
observer work dir cleaning ok
demo destroyed
Cluster param config check ok
Open ssh connection ok
Generate observer configuration ok
Generate prometheus configuration ok
Generate obproxy configuration ok
Generate grafana configuration ok
Generate obagent configuration ok
±-------------------------------------------------------------------------------------------+
| Packages |
±-------------±--------±-----------------------±-----------------------------------------+
| Repository | Version | Release | Md5 |
±-------------±--------±-----------------------±-----------------------------------------+
| obagent | 4.2.2 | 100000042024011120.el7 | 19739a07a12eab736aff86ecf357b1ae660b554e |
| grafana | 7.5.17 | 1 | 1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 |
| obproxy-ce | 4.2.3.0 | 3.el7 | 0490ebc04220def8d25cb9cac9ac61a4efa6d639 |
| prometheus | 2.37.1 | 10000102022110211.el7 | 58913c7606f05feb01bc1c6410346e5fc31cf263 |
| oceanbase-ce | 4.2.1.8 | 108000022024072217.el7 | 499b676f2ede5a16e0c07b2b15991d1160d972e8 |
±-------------±--------±-----------------------±-----------------------------------------+
Repository integrity check ok
Load param plugin ok
Open ssh connection ok
Parameter check ok
Cluster status check ok
Initializes obagent work home ok
Initializes grafana work home ok
Initializes obproxy work home ok
Initializes prometheus work home ok
Initializes observer work home ok
Remote obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e repository install ok
Remote obagent-4.2.2-100000042024011120.el7-19739a07a12eab736aff86ecf357b1ae660b554e repository lib check ok
Remote grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 repository install ok
Remote grafana-7.5.17-1-1bf1f338d3a3445d8599dc6902e7aeed4de4e0d6 repository lib check ok
Remote obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 repository install ok
Remote obproxy-ce-4.2.3.0-3.el7-0490ebc04220def8d25cb9cac9ac61a4efa6d639 repository lib check ok
Remote prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 repository install ok
Remote prometheus-2.37.1-10000102022110211.el7-58913c7606f05feb01bc1c6410346e5fc31cf263 repository lib check ok
Remote oceanbase-ce-4.2.1.8-108000022024072217.el7-499b676f2ede5a16e0c07b2b15991d1160d972e8 repository install ok
Remote oceanbase-ce-4.2.1.8-108000022024072217.el7-499b676f2ede5a16e0c07b2b15991d1160d972e8 repository lib check !!
Try to get lib-repository
Remote oceanbase-ce-libs-4.2.1.8-108000022024072217.el7-d02f4bfd321370a02550424293beb1be31204038 repository install ok
Remote oceanbase-ce-4.2.1.8-108000022024072217.el7-499b676f2ede5a16e0c07b2b15991d1160d972e8 repository lib check ok
demo deployed
Get local repositories ok
Search plugins ok
Load cluster param plugin ok
Open ssh connection ok
Check before start observer x
[WARN] OBD-1011: (127.0.0.1) The recommended value of fs.aio-max-nr is 1048576 (Current value: 65536)
[WARN] (127.0.0.1) failed to get open files
[WARN] (127.0.0.1) failed to get max user processes
[WARN] (127.0.0.1) failed to get core file size
[WARN] (127.0.0.1) failed to get stack size
[WARN] OBD-1017: (127.0.0.1) The value of the “vm.max_map_count” must be within [327600, 1310720] (Current value: 65530, Recommended value: 655360)
[ERROR] OBD-2000: (127.0.0.1) not enough memory. (Free: 2544M, Buff/Cache: 1052M, Need: 6144M), Please reduce the memory_limit or memory_limit_percentage
[WARN] OBD-1012: (127.0.0.1) clog and data use the same disk (/root)

Check before start obagent ok
Check before start obproxy ok
Check before start prometheus ok
Check before start grafana ok
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: 6b5b3620-678a-11ef-a096-000c291d0576
If you want to view detailed obd logs, please run: obd display-trace 6b5b3620-678a-11ef-a096-000c291d0576

1 个赞

从社区问答中搜索一下这个报错试着调整一下看看呢

内存不够了报错[ERROR] OBD-2000: (127.0.0.1) not enough memory. (Free: 5.0G, Buff/Cache: 727.7M, Need: 6.0G) - 社区问答- OceanBase社区-分布式数据库

进入配置文件调整memory数值大小 或者增加内存配置
执行以下命令,清理内存缓存:
echo 3 > /proc/sys/vm/drop_caches

1 个赞

你内存空闲只有2.5G啊,最低写的要6G。。内存能多给点吗 :joy:

1 个赞

安装前的check都通过了吗
得先有硬件保证啊

你好,内存不足问题解决了么。

单机 内存最低 不低于8G.

1 个赞