Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERL-440: too many nodes with the same name #3112

Closed
OTP-Maintainer opened this issue Jun 24, 2017 · 3 comments
Closed

ERL-440: too many nodes with the same name #3112

OTP-Maintainer opened this issue Jun 24, 2017 · 3 comments
Labels
bug Issue is reported as a bug priority:medium team:VM Assigned to OTP team VM

Comments

@OTP-Maintainer
Copy link

Original reporter: boboxiaodd
Affected version: OTP-20.0
Component: kernel
Migrated from: https://bugs.erlang.org/browse/ERL-440


i don't know how happen,so many node with the same name...
@OTP-Maintainer
Copy link
Author

rickard said:

You are most likely inspecting the system with a tool that show one entry for each thread of each process instead of only one entry for each process. If so, the printout is expected. By default the Erlang VM process has lots of threads.

@OTP-Maintainer
Copy link
Author

boboxiaodd said:

This should be the result: I used init:stop () to stop the node and, for some reason, the node failed to shut down, causing memory to continue to increase and eventually crash. In this process, the node is restarted without error reporting, and perhaps the node check cannot connect to the old node, which was previously judged to be created. I solved the problem by stopping nodes with halt (1).

@OTP-Maintainer
Copy link
Author

rickard said:

When calling {{init:stop()}} the node wont terminate until all ports have flushed their data and closed. halt(1) will not wait for flushes. If you want an exit result of zero, you can use:
{code}
halt(0, [{flush,false}])
{code}

See [erlang:halt/2|http://erlang.org/doc/man/erlang.html#halt-2].

@OTP-Maintainer OTP-Maintainer added bug Issue is reported as a bug team:VM Assigned to OTP team VM priority:medium labels Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug priority:medium team:VM Assigned to OTP team VM
Projects
None yet
Development

No branches or pull requests

1 participant