On Sat, Oct 29, 2016 at 5:57 PM, Eugene Dzhurinsky <jdeve...@gmail.com>
wrote:

> Patrick, thanks for the quick reply!
>
> In fact I do see it happening quite often, I have akka *INFO* logging
> enabled, please take a look at this one:
>
> http://depnongadsla.s3.amazonaws.com/wrapper-20161029.log
>
>
Can you somehow verify if those are real network issues, e.g. by using some
other non-Akka software to verify the connectivity?

Change

akka.cluster.failure-detector {
  acceptable-heartbeat-pause = 10 s
  heartbeat-interval = 1 s
}

akka.cluster.auto-down-unreachable-after = 300s


Look for this in the logs: "Marking node(s) as UNREACHABLE"
That means that the failure detector heartbeat messages don't get through
and then it's interesting to see it that is because you have a real network
issue or if it's something related to Akka or your application.

If the network partition "heals" you should see: "Marking node(s) as
REACHABLE"



> To make it clear: all addresses *192.168.1.** are located in the same
> datacenter in US, *10.9.0.** are located in EU.
>
> I hope that will give you some idea of what's wrong over there.
>
> I quite don't understand why the leader is set to *10.9.0.10* sometimes,
> I supposed leader to be in *192.168.1.**
>

Leader is selected by sorting the addresses alphanumerically. 10.9.0.10
< 192.168.1.*


>
> Thanks!
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Akka Tech Lead
Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to