Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to kill the erlang vm when it is running with -heart?

The title pretty much sums it up. I have a zotonic site running with -heart, it uses lots of cpu time and I can't get an erlang shell. So, is there a way to kill the vm? killall heart and killall beam.smp are not working.

I found this question: Stop Erlang Daemon , but it does not really answer my question.

like image 602
Simon Lindgren Avatar asked Aug 27 '11 22:08

Simon Lindgren


1 Answers

Just use:

init:stop().

It will kill the heart process and all applications.

like image 190
Isac Avatar answered Sep 21 '22 16:09

Isac