couchdb - 超级账本结构 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
解决方案
推荐阅读
- ubuntu - 在维护期间为所有用户禁用 GitLab 登录
- qt - 如何从 QML 树视图模型中删除数据?
- javascript - 如何通过 Web-API 上传文件(图像)并使用 jQuery 更新数据?
- php - 如何使用 ActiveRecord 过滤带有时区列的时间戳
- python - 如何确保情节框架是一致的?
- azure - 尝试索引名称中包含特殊字符的字段时,Azure 搜索索引器无法创建
- google-app-maker - 项目时间跟踪器
- rinsim - CommModel 中可能存在内存泄漏
- c# - 将长语句重构为可重用函数
- groovy - Groovy 枚举:switch 语句在运行之前抛出与静态相关的错误