[erlang-patches] Disable flow control for beam started via run_erl

Eng. Wael Samaha waelsamaha@REDACTED
Sat Mar 6 23:29:33 CET 2010


Hi,
Is this patch will also handle the same behavior caused by pressing ctrl+c will accessing the node from the pipe using to_erl that display a prompt to press 'c' or 'a' or ...
As this also block all calls to the beam and make all RPC calls to that node to fail with the node down error.
 
Best Regards,




     


--- On Sat, 3/6/10, Jonas Falkevik <jonas.falkevik@REDACTED> wrote:


From: Jonas Falkevik <jonas.falkevik@REDACTED>
Subject: [erlang-patches] Disable flow control for beam started via run_erl
To: erlang-patches@REDACTED
Date: Saturday, March 6, 2010, 3:58 PM


Hi,
We had some problem with accidentally hitting ctrl-s (too close to ctrl-d)
when detaching from the erlang shell attached with to_erl.
This if not noticed and neutralized by ctrl-q could make the beam block
which is not desired behaviour for a live system.

This patch makes it possible to disable the feature of blocking the beam
with ctrl-s.

A new environment variable is introduced RUN_ERL_DISABLE_FLOWCNTRL which
should be set before you run run_erl.

git fetch git://github.com/falkevik/otp.gitopt_disable_of_flowctrl_for_run_erl_shell


Regards,
Jonas Falkevik



      


More information about the erlang-patches mailing list