Uff, indeed :-)
Gotta watch out and only keep as many ActorSystems as you really intent to have.

Glad you found the solution, happy hakking!

-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Typesafe

On 10 August 2015 at 10:31:31, n...@rubell.com (n...@rubell.com) wrote:

Hi,

I am trying to use round-robin-pool with ClusterActorRefProvider and deploy 
actors to members with a certain role.
The actors are created and executed remotely and this is fine, but what I 
noticed additional members are created each time I tell to the router which is 
unexpected. I also noticed these phantom members are unreacheable.

[INFO] [08/10/2015 00:15:55.507] 
[ClusterSystem-akka.actor.default-dispatcher-2] [Cluster(akka://ClusterSystem)] 
Cluster Node [akka.tcp://ClusterSystem@127.0.0.1:41362] - Welcome from 
[akka.tcp://ClusterSystem@127.0.0.1:4054]
[INFO] [08/10/2015 00:15:55.744] 
[ClusterSystem-akka.actor.default-dispatcher-7] [Cluster(akka://ClusterSystem)] 
Cluster Node [akka.tcp://ClusterSystem@127.0.0.1:41380] - Welcome from 
[akka.tcp://ClusterSystem@127.0.0.1:4054]

The configuration is defined as follows:

akka {
  actor {
    provider = "akka.cluster.ClusterActorRefProvider"
    deployment {
      "/container/hello" {
        router = round-robin-pool
        nr-or-instances = 30
        cluster {
          enabled = on
          max-nr-of-instances-per-node = 3
          allow-local-routees = off
          use-role = server
        }
      }
    }
  }
  remote {
    log-remote-lifecycle-events = DEBUG
    log-received-messages = on
    netty.tcp {
      hostname = "127.0.0.1"
      port = 0
    }
  }

  cluster {
    min-nr-of-members = 3
    seed-nodes = [
      "akka.tcp://ClusterSystem@127.0.0.1:4054"
      ]
    roles = ["client"]
    auto-down-unreachable-after = 10s
  }
}

Any help appreciated.
Nick
--
>>>>>>>>>> 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 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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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