basho / node_package

RPM/Debian/FreeBSD/SmartOS/Solaris/OSX packaging templates for Erlang Nodes
Apache License 2.0
89 stars 63 forks source link

Risk of atom table exhaustion from dynamic "maint" node naming [JIRA: TOOLS-149] #191

Open angrycub opened 8 years ago

angrycub commented 8 years ago

When nodetool makes a VM to perform an operation against a running Erlang application, it includes the PID of that specific script invocation:

https://github.com/basho/node_package/blob/develop/priv/base/nodetool#L191

This has the unintended consequence of potentially exhausting the atom table on a long-running node, or a node upon which nodetool-backed maintenance activities are run frequently.

smarj commented 6 years ago

This looks fixed on node_package 4.0 and later, including develop. Riak 2.0.8, Riak 2.2.1 and later use 4.0.1, so they no longer exhibit this behavior. There is no safe version of 2.1.x.