Hello Martynas,

I have found the problem. There's a bug in our own code of message 
serialization. I have debugged into the code of Akka to detect this. It's 
always strange that there's no explicit exception trace in the log... 

Now I test  a cluster with 10 nodes every thing works fine.

Thanks,

Mint

在 2014年7月7日星期一UTC+2下午1时55分58秒,Martynas Mickevičius写道:
>
> Hi Mint,
>
> whats the amount of messages you send from the worker nodes? Is it very 
> high?
>
> Can you package this to a small test case and share it?
>
>
> On Fri, Jul 4, 2014 at 11:06 PM, Mint <[email protected] <javascript:>> 
> wrote:
>
>> Hi Patrik,
>>
>> I've just upgraded the version of Akka from 2.3.0 to 2.3.4 for our 
>> prototype project. Still the same warn message, query failed with time out 
>> because the result of worker aggregator has not been delivered to client. 
>> When I tried to launch the test with one client node and 4 worker remote 
>> nodes I get the same message:
>>
>> 2014-07-04 21:55:31,865 | WARN  | ult-dispatcher-4 | 
>> ReliableDeliverySupervisor       | receive$1$$anonfun$applyOrElse$2   71 | 
>> 202 - com.typesafe.akka.slf4j - 2.3.4 | Association with remote system 
>> [akka.tcp://cluster@host:port] has failed, address is now gated for [5000] 
>> ms. Reason is: [Failed to write message to the transport].
>>
>>
>> I have launched the work nodes in LAN on four machines.
>>
>> Thanks in advance for your help,
>>
>> Mint
>>
>>  
>>
>> 在 2014年7月4日星期五UTC+2下午5时42分41秒,Patrik Nordwall写道:
>>>
>>> First of all, use latest released version. That is 2.3.4. Then we can 
>>> talk :-)
>>> /Patrik
>>>
>>>
>>> On Fri, Jul 4, 2014 at 5:05 PM, Mint <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm writing code using akka cluster to distribute our internal 
>>>> analytics tool.
>>>> At the beginning things go quite well when I have one analytic client 
>>>> and 2 till 3 analytic remote workers. But every time I try to add one more 
>>>> remote nodes to the cluster(totally one client node and 4 remote worker 
>>>> nodes in the cluster), I get  warning Association with remote system 
>>>> [akka.tcp:/analytics-cluster@host:port] has failed, address is now 
>>>> gated for [5000] ms. Reason is: [Failed to write message to the 
>>>> transport]. 
>>>>  Query execution failed because result came from the 4th worker node 
>>>> cannot 
>>>> be delivered to client.
>>>>
>>>> So could you guys tell me how I should configure the application so 
>>>> that it can handle more than 4 remote workers and how can I get the 
>>>> internal exception stack to know what is the really reason that the 
>>>> message 
>>>> cannot be delivered(I have already enable log-received-messages= on     
>>>> log-sent-messages=on, with global log level to DEBUG) ?
>>>>
>>>> Thanks a lot and any advice can help me a lot.
>>>>
>>>> Mint 
>>>>
>>>> -- 
>>>> >>>>>>>>>> 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 [email protected].
>>>> To post to this group, send email to [email protected].
>>>>
>>>> Visit this group at http://groups.google.com/group/akka-user.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>>
>>> Patrik Nordwall
>>> Typesafe <http://typesafe.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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Martynas Mickevičius
> Typesafe <http://typesafe.com/> – Reactive 
> <http://www.reactivemanifesto.org/> Apps on the JVM
>  

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to