Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unable to connect to any address in the config #11194
I'm using Hazelcast 3.8 and the issue occurs in Production after 4-5 hours of continuous execution.
What I can make out is that it is occurring only when the client is invoked continuously for 4 hours. If I give a break like front user trying to invoke client and there is no delta load/initial load occurring then it works fine.
Request your help.
Hazelcast.xml is configured like below:
Below is from the diagnostic logs:
Can you run with the following settings on the server
And the following to the client
You have 675 clients connected to a single server?
You have more than 10k threads (7k are daemon threads) that doesn't look very healthy.
I see you have 4 cores.. which is less than a modern mobile phone has these days. So I guess you are running on a virtualized environment?
As for the client disconnect, we should take a look at the server logs at the time the issue started to see why the client could not connect to the server. But I would first try the suggestions Peter and I mentioned.
@pveentjer: I figured the issue which is occurring in Production.
[9/1/17 12:01:06:335 AEST] 000149d4 ClusterListen W com.hazelcast.client.spi.impl.ClusterListenerSupport hz.client_6615 [dev] [3.8] Unable to get alive cluster connection, try in 2998 ms later, attempt 2 of 2.
I was able to reproduce this scenario in non-prod env. by setting the below configuration:
Below is the code: