{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/549","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/549/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/549/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/549/events","html_url":"https://github.com/rabbitmq/rabbitmq-server/issues/549","id":126644138,"number":549,"title":"Atom table exhaustion due to rabbitmqctl node names","user":{"login":"binarin","id":185443,"avatar_url":"https://avatars.githubusercontent.com/u/185443?v=3","gravatar_id":"","url":"https://api.github.com/users/binarin","html_url":"https://github.com/binarin","followers_url":"https://api.github.com/users/binarin/followers","following_url":"https://api.github.com/users/binarin/following{/other_user}","gists_url":"https://api.github.com/users/binarin/gists{/gist_id}","starred_url":"https://api.github.com/users/binarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarin/subscriptions","organizations_url":"https://api.github.com/users/binarin/orgs","repos_url":"https://api.github.com/users/binarin/repos","events_url":"https://api.github.com/users/binarin/events{/privacy}","received_events_url":"https://api.github.com/users/binarin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/labels/effort-low","name":"effort-low","color":"88b3e4"},{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/labels/usability","name":"usability","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/milestones/12","html_url":"https://github.com/rabbitmq/rabbitmq-server/milestones/3.6.x","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/milestones/12/labels","id":1465486,"number":12,"title":"3.6.x","description":null,"creator":{"login":"dumbbell","id":159804,"avatar_url":"https://avatars.githubusercontent.com/u/159804?v=3","gravatar_id":"","url":"https://api.github.com/users/dumbbell","html_url":"https://github.com/dumbbell","followers_url":"https://api.github.com/users/dumbbell/followers","following_url":"https://api.github.com/users/dumbbell/following{/other_user}","gists_url":"https://api.github.com/users/dumbbell/gists{/gist_id}","starred_url":"https://api.github.com/users/dumbbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dumbbell/subscriptions","organizations_url":"https://api.github.com/users/dumbbell/orgs","repos_url":"https://api.github.com/users/dumbbell/repos","events_url":"https://api.github.com/users/dumbbell/events{/privacy}","received_events_url":"https://api.github.com/users/dumbbell/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":0,"state":"open","created_at":"2015-12-17T18:27:38Z","updated_at":"2016-01-14T12:54:22Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-01-14T12:20:22Z","updated_at":"2016-01-14T12:56:05Z","closed_at":null,"body":"rabbitmqctl generate node names like 'rabbit-cli-&lt;pid&gt;@&lt;host&gt;'. The problem is that node names are stored in atom table and not garbage collected. \r\n\r\nSome numbers:\r\n- Maximum pid number on linux is 32768 by default\r\n- Maximum pid  could be increased to ~4 millions on 64-bit CPU\r\n- Erlang atom table has default limit of 1048576 atoms.\r\n\r\nSo on linux any long running rabbitmqbroker could be crashed by constantly running rabbitmqctl:\r\n- in cluster of more than 32 nodes (with default pid limit)\r\n- or even on single node, after increasing that limit\r\n\r\nWhile it sounds ridiculous, we've observed such a crash on a production server  )\r\n\r\nThere should be some way to generate rabbitmqctl nodenames without introducing large quantities of uncollected garbage."},"comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/comments/171637070","html_url":"https://github.com/rabbitmq/rabbitmq-server/issues/549#issuecomment-171637070","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-server/issues/549","id":171637070,"user":{"login":"binarin","id":185443,"avatar_url":"https://avatars.githubusercontent.com/u/185443?v=3","gravatar_id":"","url":"https://api.github.com/users/binarin","html_url":"https://github.com/binarin","followers_url":"https://api.github.com/users/binarin/followers","following_url":"https://api.github.com/users/binarin/following{/other_user}","gists_url":"https://api.github.com/users/binarin/gists{/gist_id}","starred_url":"https://api.github.com/users/binarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarin/subscriptions","organizations_url":"https://api.github.com/users/binarin/orgs","repos_url":"https://api.github.com/users/binarin/repos","events_url":"https://api.github.com/users/binarin/events{/privacy}","received_events_url":"https://api.github.com/users/binarin/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T12:56:04Z","updated_at":"2016-01-14T12:56:04Z","body":"Actually, it's not a problem with rabbit_nodes:ensure_epmd - starter node is not connecting anywhere, so there will be no pollution."}}