无法连接代码-1 aerospike

时间:2018-02-27 10:33:55

标签: node.js pm2 aerospike

  

15:13:41 PM [错误]错误{AerospikeError:无法连接
      6 | vertica- | at Object.client.getProdServerConnection_152(/home/tech/processes/vertica-domain-distribution/connectors/connector-aerospike-js/connection/client.js:34:16)
      6 | vertica- |在Module._compile(module.js:641:30)
      6 | vertica- |名称:' AerospikeError',
      6 | vertica- |消息:'无法连接',
      6 | vertica- |代码:-1,
      6 | vertica- | func:' as_cluster_seed_nodes',
      6 | vertica- | file:' src / main / aerospike / as_cluster.c',
      6 | vertica- | line:375}(在/home/tech/processes/vertica-domain-distribution/connectors/connector-aerospike-js/connection/connection.js:74)
      6 | vertica- | (在/home/tech/processes/vertica-domain-distribution/master.js:213)`

在尝试使用批量读取功能 nodejs客户端连接25次与aerospike连接时出现此错误,我该怎么办?提供我的aerospike.conf文件的服务部分,需要改变什么?

service {
  user root
  group root
  paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
  pidfile /var/run/aerospike/asd.pid
  service-threads 4
  transaction-queues 4
  transaction-threads-per-queue 4
  proto-fd-max 100000
  proto-fd-idle-ms 10000
}

0 个答案:

没有答案