I use walnut drawing in a 2 node cluster following my configuration:
<hz:hazelcast id="hazelcast_instance"> <hz:config> <hz:instance-name>hazelcastinstance</hz:instance-name> <hz:group name="cluster" password="asdfg" /> <hz:properties> <hz:property name="hazelcast.health.monitoring.level">SILENT</hz:property> </hz:properties> <hz:network port="5710" port-auto-increment="false"> <hz:join> <hz:multicast enabled="false" multicast-group="224.2.2.5" multicast-port="54327" /> <hz:tcp-ip enabled="true"> <hz:members>${cluster.hzmembers}</hz:members> </hz:tcp-ip> </hz:join> <hz:interfaces enabled="false"> <hz:interface>192.168.1.*</hz:interface> </hz:interfaces> </hz:network> <hz:map name="cluster.map" max-size="100" max-idle-seconds="55" time-to-live-seconds="55" eviction-policy="LRU" eviction-percentage="50"/> </hz:config> </hz:hazelcast>
I just use the card to check the partition, so that I can only run one package instance in the cluster:
hz.getPartitionService().getPartition("cluster.map").getOwner().localMember()
But from time to time in the log I see messages like
[cluster] memory.used=1.8G, memory.free=583.9M, memory.total=2.4G, memory.max=2.4G, memory.used/total=76.07%, memory.used/max=76.07%, load.process=-1.00%, load.system=-1.00%, load.systemAverage=13.00%, thread.count=147, thread.peakCount=158, event.q.size=0, executor.q.async.size=0, executor.q.client.size=0, executor.q.operation.size=0, executor.q.query.size=0, executor.q.scheduled.size=0,
Not sure what fills the cluster memory of a lizard.
Any device will be appreciated.
I am using Hazelcasr version 3.1.7
source share