They may be stopped because of cluster sharding rebalance.

How do you setup the inmem journal? It must be used together with the shared 
journal to work across cluster nodes. That is important for the shard 
coordinator, which is a persistent actor. See the cluster sharding activator 
tutorial for such setup.

/Patrik

> 14 maj 2015 kl. 14:38 skrev Martynas Mickevičius 
> <[email protected]>:
> 
> Hi Zoe,
> 
> how quickly are they stopping? Are you sure you are not stopping actor system?
> 
>> On Fri, May 8, 2015 at 6:40 AM, Zoe Gagnon <[email protected]> wrote:
>> Hi, 
>> I have a set up a cluster shard region which contains entry actors similar 
>> to the Counter class used in the examples. All data is ephemeral, so there 
>> are no persist calls being made, but the actors are expected to have very 
>> long life span. However, my logging shows actors moving from start (preStart 
>> is called), to stop (postStop is called) in a relatively short amount of 
>> time. Nothing I've written is explicitly stopping the actors (no Stop, 
>> PoisonPill, or context.stop is being sent or called). Since this is for 
>> testing purposes, I am using the in-memory persistence plugin (as I said, 
>> nothing is persisted). My cluster contains several machines, and I'm 
>> currently trying to evaluate performance with a fairly large number of 
>> entries (>40 million), but as I said, they seem to be stopping shortly after 
>> starting. Any ideas what's going on, how to get more information about it, 
>> or how to fix it? Any help is appreciated.
>> 
>> Thanks,
>> Zoe Gagnon
>> -- 
>> >>>>>>>>>> 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.
> 
> 
> 
> -- 
> Martynas Mickevičius
> Typesafe – Reactive 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.

-- 
>>>>>>>>>>      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