{"action":"created","issue":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2085","repository_url":"https://api.github.com/repos/akkadotnet/akka.net","labels_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2085/labels{/name}","comments_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2085/comments","events_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2085/events","html_url":"https://github.com/akkadotnet/akka.net/issues/2085","id":159759763,"number":2085,"title":"It takes 20 seconds to create the ActorSystem","user":{"login":"eightrivers","id":1868294,"avatar_url":"https://avatars.githubusercontent.com/u/1868294?v=3","gravatar_id":"","url":"https://api.github.com/users/eightrivers","html_url":"https://github.com/eightrivers","followers_url":"https://api.github.com/users/eightrivers/followers","following_url":"https://api.github.com/users/eightrivers/following{/other_user}","gists_url":"https://api.github.com/users/eightrivers/gists{/gist_id}","starred_url":"https://api.github.com/users/eightrivers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eightrivers/subscriptions","organizations_url":"https://api.github.com/users/eightrivers/orgs","repos_url":"https://api.github.com/users/eightrivers/repos","events_url":"https://api.github.com/users/eightrivers/events{/privacy}","received_events_url":"https://api.github.com/users/eightrivers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-11T06:55:12Z","updated_at":"2016-06-11T16:56:26Z","closed_at":null,"body":"The following is the config string of AKKA we used:\r\n\r\n`akka {\r\nstdout-loglevel = OFF\r\nloglevel = OFF\r\nlog-config-on-start = on\r\n  actor {provider = \"Akka.Cluster.ClusterActorRefProvider, Akka.Cluster\"}\r\n  remote {\r\n    log-remote-lifecycle-events = ERROR\r\n    helios.tcp {\r\n\tmaximum-frame-size = 100000000b \r\n\thostname = \"localhost\"\r\n\tport = 9001}\r\n  }\r\n}`\r\n\r\nThe code we used to create ActorSystem is  \r\n\r\n`_actorSystem = ActorSystem.Create(ClusterName, GetConfig());`\r\n\r\nWe started and stopped the process with AKKA several hundred times. In most of cases the ActorSystem could be created in 1 seconds, while we also noticed that occasionally, it will take about 20 seconds to created the ActorSystem object. \r\n\r\nNot sure what was happened internally, and how to avoid it. "},"comment":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/comments/225374582","html_url":"https://github.com/akkadotnet/akka.net/issues/2085#issuecomment-225374582","issue_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2085","id":225374582,"user":{"login":"Aaronontheweb","id":326939,"avatar_url":"https://avatars.githubusercontent.com/u/326939?v=3","gravatar_id":"","url":"https://api.github.com/users/Aaronontheweb","html_url":"https://github.com/Aaronontheweb","followers_url":"https://api.github.com/users/Aaronontheweb/followers","following_url":"https://api.github.com/users/Aaronontheweb/following{/other_user}","gists_url":"https://api.github.com/users/Aaronontheweb/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaronontheweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaronontheweb/subscriptions","organizations_url":"https://api.github.com/users/Aaronontheweb/orgs","repos_url":"https://api.github.com/users/Aaronontheweb/repos","events_url":"https://api.github.com/users/Aaronontheweb/events{/privacy}","received_events_url":"https://api.github.com/users/Aaronontheweb/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T16:56:26Z","updated_at":"2016-06-11T16:56:26Z","body":"@eightrivers thanks! That would be helpful. I'm in the process of modifying the code that determines how all of the guardian actors allocate their children (which includes the remoting system, the loggers, and all of your user defined actors) and it might be the previous versions of that code which may be responsible for this slow startup, so anything that can help me pinpoint where the issue might be would be very helpful :+1: "}}
{"actor":{"display_login":"Aaronontheweb"}}