Skip to content

Commit

Permalink
Add common tunings to escript_emu_args in rebar.config
Browse files Browse the repository at this point in the history
  • Loading branch information
slfritchie committed Dec 10, 2014
1 parent 15f8806 commit 77ee04b
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions rebar.config
Expand Up @@ -56,7 +56,16 @@
snappy
]}.

{escript_emu_args, "%%! +K true -rsh ssh\n"}.
%% Use this for the Java client bench driver
%% {escript_emu_args, "%%! +K true -name bb@127.0.0.1 -setcookie YOUR_ERLANG_COOKIE\n"}.
{escript_emu_args, "%%! +K true -name bb@127.0.0.1 -setcookie YOUR_ERLANG_COOKIE -rsh ssh\n"}.
%% When using the Java client bench driver, please use the -N and -C
%% command line options to set the distributed Erlang node name
%% and node cookie for the basho_bench VM.
%% It isn't necessary to set the node name and cookie here.
%%
%% If you have any need to run basho_bench in an interactive way with
%% the Erlang CLI, then remove the -noshell and -noinput flags.
%%
%% The value of +Q here is for 1.2 million ports, but the process
%% won't be able to open that many ports without also adjusting the
%% OS process's file descriptor limit, e.g., using "ulimit -n".

{escript_emu_args, "%%! +K true -rsh ssh -noshell -noinput +P 1222333 +Q 1222333 +zdbbl 32768\n"}.

0 comments on commit 77ee04b

Please sign in to comment.