【发布时间】:2015-09-16 19:14:44
【问题描述】:
我们在 AWS 有一个由 4 台机器 t2micro(1cpu 1gb ram 15gb ssd)组成的集群,我们正在测试 aerospike。 我们使用 aws marketplace AMI 安装 aerospike v3 社区版,并且仅配置 aerospike.conf 文件以在磁盘上具有命名空间。
我们有一个包含两组文件的命名空间,总共 18M 个文档,占用 2GB 内存,占用大约 40GB 磁盘空间。 在 12M 的记录集中创建索引后,系统崩溃了。
一些信息:
实例上的 aql:
[ec2-user@ip-172-XX-XX-XXX ~]$ aql
2015-09-16 18:44:37 WARN AEROSPIKE_ERR_CLIENT Socket write error: 111
Error -1: Failed to seed cluster*
日志的尾部:(它只添加重复的行)
Sep 16 2015 19:08:26 GMT: INFO (drv_ssd): (drv_ssd.c::2406) device /opt/aerospike/data/bar.dat: used 6980578688, contig-free 5382M (5382 wblocks), swb-free 0, n-w 0, w-q 0 w-tot 23 (0.0/s), defrag-q 0 defrag-tot 128 (0.0/s)
Sep 16 2015 19:08:46 GMT: INFO (drv_ssd): (drv_ssd.c::2406) device /opt/aerospike/data/bar.dat: used 6980578688, contig-free 5382M (5382 wblocks), swb-free 0, n-w 0, w-q 0 w-tot 23 (0.0/s), defrag-q 0 defrag-tot 128 (0.0/s)
Sep 16 2015 19:09:06 GMT: INFO (drv_ssd): (drv_ssd.c::2406) device /opt/aerospike/data/bar.dat: used 6980578688, contig-free 5382M (5382 wblocks), swb-free 0, n-w 0, w-q 0 w-tot 23 (0.0/s), defrag-q 0 defrag-tot 128 (0.0/s)
Sep 16 2015 19:09:26 GMT: INFO (drv_ssd): (drv_ssd.c::2406) device /opt/aerospike/data/bar.dat: used 6980578688, contig-free 5382M (5382 wblocks), swb-free 0, n-w 0, w-q 0 w-tot 23 (0.0/s), defrag-q 0 defrag-tot 128 (0.0/s)
作为监视器:
$ asmonitor -h 54.XX.XXX.XX
request to 54.XX.XXX.XX : 3000 returned error
skipping 54.XX.XXX.XX:3000
***failed to connect to any hosts
asadm:
$ asadm -h 54.XXX.XXX.XX -p 3000
Aerospike Interactive Shell, version 0.0.10-6-gdd6fb61
Found 1 nodes
Offline: 54.207.67.238:3000
我们尝试重新启动实例,其中一个已恢复但作为独立节点工作,其余的处于所述状态。 实例工作正常,但 aerospike 服务没有工作。
【问题讨论】:
标签: amazon-web-services aerospike nosql