[erlang-questions] beam.smp signal handling

Jon Schneider <>
Tue Mar 19 06:23:31 CET 2013

Suggestion. Instead change the terminal with stty so that ^C no longer causes a break.


"Michał Ptaszek" <> wrote:

>in order to avoid stupid mistakes on production we have disabled break
>signal handling for the VM by adding +Bi switch to the options passed
>'beam.smp' command. As a result, if anyone is connect to the shell via
>and hits CTRL+C - nothing should happen. In order to kill the node
>must intentionally run init:stop()/q() from inside of the node.
>Unfortunately, as a result, we are not able to handle USR1 signals
>and thus not being able to generate crash dumps when the VM is stuck.
>+Bi option is passed VM is terminated with "User defined signal 1"
>Temporarily we can run the VM with +Bc switch however I was wondering
>there is any other way to completely disable SIGINT, but not SIGUSR1
>erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130319/5d2a66da/attachment.html>

More information about the erlang-questions mailing list