[erlang-bugs] ^G-q in remote shell quits erlang node

Johannes Weißl jargon@REDACTED
Fri May 15 21:58:27 CEST 2015


A short update:

I ran "erl -remsh" in a screen session, maybe this has something to do
with "^G-q" being transmitted to the production node.

To mitigate the problem, I start the production node now with "+Bi" so
that "^G-q" is forbidden there.

Johannes

On Sun, May 10, 2015 at 08:47PM +0000, Johannes Weißl wrote:
> Hello,
> 
> I experienced a very worrisome behavior: After connecting to an Erlang
> node with "-remsh", typing "^G-q" (JCL mode) quit the production node (!),
> not the maintenance shell:
> 
>     (node@REDACTED)2>
>     User switch command
>      --> q
>     heart: Fri May  8 14:23:03 2015: Erlang has closed.
>     Killed
>     sh: echo: I/O error
> 
> I could not reproduce that in an example, but it happened twice on a
> production node. Has anybody ever had this problem? Has anybody an idea
> how this can happen and where the bug could be located?
> 
> The system is OTP 17.4 running on Debian Jessie. The node is started by
> a shell init script using "run_erl -daemon", /sbin/init is systemd.
> 
> Regards,
> Johannes



More information about the erlang-bugs mailing list