neonio icon indicating copy to clipboard operation
neonio copied to clipboard

neonio-store启动失败

Open chenlhcodes opened this issue 3 years ago • 4 comments

部署环境: 本机测试环境,centos 7.9,单节点k8s v1.18.1

前置条件的内核模块已加载 image 系统已有一块未格式化的硬盘 image 其余容器均已成功启动 image

neonio-store 日志 image describe 查看 image

chenlhcodes avatar Sep 07 '21 10:09 chenlhcodes

我发现虚拟机一直在报错 image

chenlhcodes avatar Sep 07 '21 11:09 chenlhcodes

这个看起来像内存不够,store pod启动的过程中,你可以用free 来观察一下内存的消耗情况,或者kubectl -n kube-system exec neonio-store-xxxxxx -- cat /var/log/neonstore.log 查看一下store的具体日志

Hansyangxingxiang avatar Sep 08 '21 01:09 Hansyangxingxiang

@Hansyangxingxiang 是内存不足造成的,虚拟机原本有8G内存,现在加到14G,store已经启动成了。请问安装neonio需要的最低配置是多少呢?

chenlhcodes avatar Sep 08 '21 01:09 chenlhcodes

按照现在的的默认配置,需要有单独8G内存给neonio使用,不过可以在部署的时候通过dispatcher_iotaskpoolsize、dispatcher_iotaskpoolsize调小达到减少内存的占用,不过调成多少,并且占用多少内存我们目前没有一个准确的值。我们下一个版本(预计10月份)会优化到最小占用2G的内存

Hansyangxingxiang avatar Sep 08 '21 08:09 Hansyangxingxiang