我们有一个neo4j配置,主要是纯默认设置,而不是列出要连接的主机。它是一个1.9.0企业,HA有3个节点。我们遇到了一些运行轻负载的问题,我们在messages.log文件中看到了这一点:
2013-08-02 20:49:12.017+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.019+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.019+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.019+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.020+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.020+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.021+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.022+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.022+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.023+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.023+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.024+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
2013-08-02 20:49:12.024+0000 DEBUG [o.n.k.h.c.m.SlaveClient]: Opened a new channel to neo4j02.xxx.com/10.12.200.43:6361
只计算一分钟:
$ grep "Opened" messages.log | grep "20:49" | wc -l
2478
这似乎太过分了。我们在这里做错了吗?