停止群集节点后发生Hazelcast多播错误

时间:2017-05-02 12:15:05

标签: orientdb heap-memory hazelcast multicast

我有一个由两个节点组成的集群,即两台OrientDB服务器在两台具有企业版2.2.3的独立机器上运行。这两台机器都是具有fedora OS 18的VM.lientDB数据库由大约75000个边和5000个节点组成。

当我试图一个接一个地阻止任何节点或两个节点时,我有以下错误:

节点1

2017-05-02 17:32:44:811 WARNI Received signal: SIGINT [OSignalHandler]Exception in thread "Timer-1" com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
        at com.hazelcast.spi.AbstractDistributedObject.throwNotActiveException(AbstractDistributedObject.java:85)
        at com.hazelcast.spi.AbstractDistributedObject.lifecycleCheck(AbstractDistributedObject.java:80)
        at com.hazelcast.spi.AbstractDistributedObject.getNodeEngine(AbstractDistributedObject.java:74)
        at com.hazelcast.map.impl.proxy.MapProxySupport.invokeOperation(MapProxySupport.java:309)
        at com.hazelcast.map.impl.proxy.MapProxySupport.getInternal(MapProxySupport.java:250)
        at com.hazelcast.map.impl.proxy.MapProxyImpl.get(MapProxyImpl.java:94)
        at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedMap.get(OHazelcastDistributedMap.java:53)
        at com.orientechnologies.agent.profiler.OEnterpriseProfiler$14.run(OEnterpriseProfiler.java:772)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)
java.lang.OutOfMemoryError: Java heap space
Dumping heap to java_pid11478.hprof ...
Heap dump file created [744789648 bytes in 21.248 secs]

节点2

2017-05-02 17:32:41:108 INFO  [192.168.6.153]:2434 [orientdb] [3.6.3] Running shutdown hook... Current state: ACTIVE [Node]Exception in thread "Timer-1" com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
        at com.hazelcast.spi.AbstractDistributedObject.throwNotActiveException(AbstractDistributedObject.java:85)
        at com.hazelcast.spi.AbstractDistributedObject.lifecycleCheck(AbstractDistributedObject.java:80)
        at com.hazelcast.spi.AbstractDistributedObject.getNodeEngine(AbstractDistributedObject.java:74)
        at com.hazelcast.map.impl.proxy.MapProxySupport.invokeOperation(MapProxySupport.java:309)
        at com.hazelcast.map.impl.proxy.MapProxySupport.getInternal(MapProxySupport.java:250)
        at com.hazelcast.map.impl.proxy.MapProxyImpl.get(MapProxyImpl.java:94)
        at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedMap.get(OHazelcastDistributedMap.java:53)
        at com.orientechnologies.agent.profiler.OEnterpriseProfiler$14.run(OEnterpriseProfiler.java:772)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)

如何解决堆内存问题?

Terminal View of both the nodes for reference

1 个答案:

答案 0 :(得分:1)

好像你的问题是Out of Memory错误。 Hazelcast的例外意味着HazelcastInstance已停止,很可能是基于OOME事实。