Closed khipukamayuq closed 5 years ago
What version of asdf are you using? And how to you typically stop the Erlang shell or other Erlang processes?
@Stratus3D Apologies for the delay; been out of town. I'm using asdf v0.6.3. I really only have Erlang for using Elixir, however, the app I'm apart of building is using Mnesia. This project is still in early stages, so I'm typically running iex -S mix
or mix test
for development. Still fairly green on understanding some of the Elixir/Erlang connection; things like the beam, etc.
Each of those processes appears to have been started by mix help credo
? (See the end of each line in your output). That doesn't seem right, as mix help credo
should just print the help message and exit. Can you see if mix help credo
causes more processes to be spawned? If so it's likely an issue related to Mix or Credo. I'm not aware of anything in asdf or asdf-erlang that would cause this.
One similar issue that I experienced a couple months ago was with a linter plugin I had installed in Vim. It contained a bug which caused numerous erl
compilers to be started and never finish. Eventually I had a couple dozen erl
processes running in the background.
Interesting. Thanks for the info. I've just tried replicating the issue by running mix help credo
and variations on that and am not able to do so. I have been using Vim recently; in fact using Vim was where I first noticed the system freeze from so many processes. I'll head that way for more help. Thanks again!
Closing this issue since I don't think asdf-erlang is the culprit here.
Been running into lots of system freezing out of nowhere just today. On Ubuntu 18.10. I've had asdf and associated erlang/elixir on this device for just a few weeks, though my previous work device ran those for 6 mos+ without issue.
top
at the CLI resulted in:Did
ps x | grep bea[m]
and results all pointed to asdf/erlang:I'm not sure how all these came to be. I can kill these by pid, of course, but how do I prevent all these instances from persisting? Thanks.