{"action":"created","issue":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/446","repository_url":"https://api.github.com/repos/emqtt/emqttd","labels_url":"https://api.github.com/repos/emqtt/emqttd/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/emqtt/emqttd/issues/446/comments","events_url":"https://api.github.com/repos/emqtt/emqttd/issues/446/events","html_url":"https://github.com/emqtt/emqttd/issues/446","id":131686119,"number":446,"title":"noproc error when call to gen_server2:call(false, {add_route,Topic,<0.685.0>}, infinity)","user":{"login":"Prots","id":2080252,"avatar_url":"https://avatars.githubusercontent.com/u/2080252?v=3","gravatar_id":"","url":"https://api.github.com/users/Prots","html_url":"https://github.com/Prots","followers_url":"https://api.github.com/users/Prots/followers","following_url":"https://api.github.com/users/Prots/following{/other_user}","gists_url":"https://api.github.com/users/Prots/gists{/gist_id}","starred_url":"https://api.github.com/users/Prots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prots/subscriptions","organizations_url":"https://api.github.com/users/Prots/orgs","repos_url":"https://api.github.com/users/Prots/repos","events_url":"https://api.github.com/users/Prots/events{/privacy}","received_events_url":"https://api.github.com/users/Prots/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emqtt/emqttd/labels/BUG","name":"BUG","color":"e10c02"},{"url":"https://api.github.com/repos/emqtt/emqttd/labels/Discussion","name":"Discussion","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"erylee","id":11869,"avatar_url":"https://avatars.githubusercontent.com/u/11869?v=3","gravatar_id":"","url":"https://api.github.com/users/erylee","html_url":"https://github.com/erylee","followers_url":"https://api.github.com/users/erylee/followers","following_url":"https://api.github.com/users/erylee/following{/other_user}","gists_url":"https://api.github.com/users/erylee/gists{/gist_id}","starred_url":"https://api.github.com/users/erylee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erylee/subscriptions","organizations_url":"https://api.github.com/users/erylee/orgs","repos_url":"https://api.github.com/users/erylee/repos","events_url":"https://api.github.com/users/erylee/events{/privacy}","received_events_url":"https://api.github.com/users/erylee/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/emqtt/emqttd/milestones/51","html_url":"https://github.com/emqtt/emqttd/milestones/0.16.0","labels_url":"https://api.github.com/repos/emqtt/emqttd/milestones/51/labels","id":1322142,"number":51,"title":"0.16.0","description":"1. User Guide\r\n2. Developer Guide\r\n3. Wiki","creator":{"login":"erylee","id":11869,"avatar_url":"https://avatars.githubusercontent.com/u/11869?v=3","gravatar_id":"","url":"https://api.github.com/users/erylee","html_url":"https://github.com/erylee","followers_url":"https://api.github.com/users/erylee/followers","following_url":"https://api.github.com/users/erylee/following{/other_user}","gists_url":"https://api.github.com/users/erylee/gists{/gist_id}","starred_url":"https://api.github.com/users/erylee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erylee/subscriptions","organizations_url":"https://api.github.com/users/erylee/orgs","repos_url":"https://api.github.com/users/erylee/repos","events_url":"https://api.github.com/users/erylee/events{/privacy}","received_events_url":"https://api.github.com/users/erylee/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2015-09-24T13:26:06Z","updated_at":"2016-02-08T09:09:12Z","due_on":"2016-01-27T16:00:00Z","closed_at":null},"comments":3,"created_at":"2016-02-05T16:20:30Z","updated_at":"2016-02-08T09:09:12Z","closed_at":"2016-02-08T09:09:12Z","body":"Hi @erylee, I have strange error, when I try to subscribe to MQTT topic with emqttd 0.14.0 or 0.15.0 on the AWS t2.micro \r\n```\r\n16:11:36.872 [error] gen_server emqttd_pubsub_1 terminated with reason: no such process or port in call to gen_server2:call(false, {add_route,<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,<0.685.0>}, infinity)\r\n16:11:36.872 [error] CRASH REPORT Process emqttd_pubsub_1 with 0 neighbours exited with reason: no such process or port in call to gen_server2:call(false, {add_route,<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,<0.685.0>}, infinity) in gen_server2:terminate/3 line 1151\r\n16:11:36.873 [error] Supervisor pubsub_pool_sup had child {emqttd_pubsub,1} started with emqttd_pubsub:start_link(pubsub, 1, #Fun<emqttd_pubsub_sup.2.36068814>, []) at <0.196.0> exit with reason no such process or port in call to gen_server2:call(false, {add_route,<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,<0.685.0>}, infinity) in context child_terminated\r\n16:11:36.873 [error] gen_server <0.685.0> terminated with reason: {{noproc,{gen_server2,call,[false,{add_route,<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,<0.685.0>},infinity]}},{gen_server2,call,[<0.196.0>,{subscribe,{<<\"aid-0ef8f522-cc23-11e5-9a3d-94de80a3f30e\">>,<0.685.0>},[{<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,2}]},infinity]}}\r\n16:11:36.873 [error] CRASH REPORT Process <0.685.0> with 1 neighbours exited with reason: {{noproc,{gen_server2,call,[false,{add_route,<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,<0.685.0>},infinity]}},{gen_server2,call,[<0.196.0>,{subscribe,{<<\"aid-0ef8f522-cc23-11e5-9a3d-94de80a3f30e\">>,<0.685.0>},[{<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,2}]},infinity]}} in gen_server2:terminate/3 line 1151\r\n16:11:36.874 [error] Supervisor emqttd_session_sup had child session started with {emqttd_session,start_link,undefined} at <0.685.0> exit with reason {{noproc,{gen_server2,call,[false,{add_route,<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,<0.685.0>},infinity]}},{gen_server2,call,[<0.196.0>,{subscribe,{<<\"aid-0ef8f522-cc23-11e5-9a3d-94de80a3f30e\">>,<0.685.0>},[{<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,2}]},infinity]}} in context child_terminated\r\n16:11:36.874 [error] Supervisor 'esockd_connection_sup - <0.563.0>' had child connection started with emqttd_client:start_link([{packet,[{max_clientid_len,1024},{max_packet_size,65536}]},{client,[{idle_timeout,20}]},{session,...},...]) at <0.680.0> exit with reason {{noproc,{gen_server2,call,[false,{add_route,<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,<0.685.0>},infinity]}},{gen_server2,call,[<0.196.0>,{subscribe,{<<\"aid-0ef8f522-cc23-11e5-9a3d-94de80a3f30e\">>,<0.685.0>},[{<<\"mobile/secure/input/21a4816e-cc23-11e5-b505-06777b4a51b9\">>,2}]},infinity]}} in context connection_crashed\r\n16:11:36.874 [debug] Supervisor pubsub_pool_sup started emqttd_pubsub:start_link(pubsub, 1, #Fun<emqttd_pubsub_sup.2.36068814>, []) at pid <0.687.0>\r\n\r\n```\r\nBut on my local machine it works fine. Could you please help me, thanks."},"comment":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/comments/181265155","html_url":"https://github.com/emqtt/emqttd/issues/446#issuecomment-181265155","issue_url":"https://api.github.com/repos/emqtt/emqttd/issues/446","id":181265155,"user":{"login":"Prots","id":2080252,"avatar_url":"https://avatars.githubusercontent.com/u/2080252?v=3","gravatar_id":"","url":"https://api.github.com/users/Prots","html_url":"https://github.com/Prots","followers_url":"https://api.github.com/users/Prots/followers","following_url":"https://api.github.com/users/Prots/following{/other_user}","gists_url":"https://api.github.com/users/Prots/gists{/gist_id}","starred_url":"https://api.github.com/users/Prots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prots/subscriptions","organizations_url":"https://api.github.com/users/Prots/orgs","repos_url":"https://api.github.com/users/Prots/repos","events_url":"https://api.github.com/users/Prots/events{/privacy}","received_events_url":"https://api.github.com/users/Prots/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T09:09:12Z","updated_at":"2016-02-08T09:09:12Z","body":"Thanks, @erylee \r\nThe issue was with \r\n```\r\n%% PubSub\r\n        {pubsub, [\r\n            %% default should be scheduler numbers\r\n             {pool_size, 2}\r\n        ]},\r\n```\r\nJust set {pool_size, 2} if you use one core server."}}