首页 > 解决方案 > 超级账本结构 couchdb 堆分配失败崩溃

问题描述

我正在监控超级账本结构 couchdb,有时 couchdb docker 容器因堆分配失败而停止。

下面是 couchdb docker 容器停止之前的日志。服务器主机规格是 AWS t2.micro,结构网络由 1 个 peer(dev-mode)、1orderer、1cli、1ca、1couchdb 和 1ccenv 容器组成。

我不知道是什么原因以及如何解决这个问题。

[info] 2018-11-06T14:19:19.839617Z nonode@nohost <0.19858.2908> -------- Closing index for db: shards/80000000-9fffffff/my-fabric.1533697140 idx: _design/16c2f95e8309df9a6f993586266150ba639ba7e8 sig: "97b910c8bbd4a195d0813dc30b7f0b91" because normal [info] 2018-11-06T14:19:19.844610Z nonode@nohost <0.12086.2908> -------- Index shutdown by monitor notice for db: shards/80000000-9fffffff/_replicator.1533696646 idx: _design/_replicator [info] 2018-11-06T14:19:19.847820Z nonode@nohost <0.12086.2908> -------- Closing index for db: shards/80000000-9fffffff/_replicator.1533696646 idx: _design/_replicator sig: "3e823c2a4383ac0c18d4e574135a5b08" because normal eheap_alloc: Cannot allocate 212907632 bytes of memory (of type "heap"). [os_mon] memory supervisor port (memsup): Erlang has closed [os_mon] cpu supervisor port (cpu_sup): Erlang has closed

标签: couchdbhyperledger-fabrichyperledger

解决方案


推荐阅读