infinilabs / gateway

🚀 A High-performance gateway designed for search scenarios. Good friend of Elasticsearch/Opensearch/Easysearch.
https://www.infinilabs.com/en/docs/latest/gateway/
28 stars 3 forks source link

启动时报无法分配内存 #35

Closed liuying525 closed 1 year ago

liuying525 commented 1 year ago

Description

想要通过gateway想要实现ES两个集群间的数据同步。操作系统版本为redhat linux 7.3,安装的INFINI GATEWAY 版本是gateway-1.12.0-915-linux-386.tar.gz。两个集群IP地址分别为10.0.121.16和10.0.121.47,将gateway安装在10.0.121.47的机器上。启动gateway报错截图如下: 报错信息

配置的yml如下: path.data: data path.logs: log

elasticsearch:

entry:

flow:

router:

pipeline:

Environment

操作系统版本为redhat linux 7.3

medcl commented 1 year ago

内存给了多少呢?并发多少?

medcl commented 1 year ago

双写的配置可以直接用这个:https://github.com/infinilabs/testing/blob/main/setup/gateway/cases/replication/replication_nonstop-search.yml

liuying525 commented 1 year ago

内存给了多少呢?并发多少? 服务器内存:64G,安装的ES设置的Xms和Xmx内存均为512m。 由于是实验环境,没有数据实时写入,不存在高并发的情况

用free-g命令查看了一下,内存一共62g,分配了1g,空闲61g;尝试重启服务器,重启后启动gateway,还是报相同错误

medcl commented 1 year ago

下载的包不对,下载 amd64 的包,386 是 32 位用的