Skip to content

[error] Failed to start net_kernel for basho_bench_measurement_erlangvm: #231

@rsoni1702

Description

@rsoni1702

Hello Team,

  1. I am using the Dockerfile of this repo to create a new docker image.
  2. After that, I created a docker container from that docker image. Inside the docker container there is a path /srv/basho_bench/_build/default/bin/ in that path basho_bench binary will be created.
  3. I use that basho_bench binary to run load-test on riak with below config file.
{driver,
    basho_bench_driver_2i}.

{operations, [
    {get_pb, 1},
    {{put_pb, 5}, 20},
    {{query_http, 10}, 1},
    {{query_mr,   10}, 1},
    {{query_pb,   10}, 1}
]}.

{measurement_driver,
    basho_bench_measurement_erlangvm}.

{measurements, [
    {memory, 1000},
    {cpu, 1000},
    {processes, 1000},
    {filehandles, 1000}
]}.

%%% LOAD SETTINGS %%%

{mode, {rate, 5}}.
%%{mode, max}.
{duration, 1}.
{concurrent, 3}.

%%% DATA SHAPE %%%

{key_generator, uuid_v4}.
{value_generator, {uniform_bin, 300,1000}}.

{pb_ips, [{"*-riak1.*", 18087}]}.
{pb_replies, 1}.

{http_ips, ["*-riak1.*"]}.
{http_port, 18098}.

%% Timeout units are milliseconds, default = 30000
{pb_timeout_general, 30000}.
{http_timeout_general, 30000}.

%%It can also be configured for devrel!
%%{pb_ips, [{"*-riak1.*", 8087},
%%          {"*-riak2.*", 8087},
%%          {"*-riak3.*", 8087}
%%]}.
%%{pb_replies, 1}.
%%
%%{http_ips, [{"*-riak1.*", 8098},
%%            {"*-riak2.*", 8098},
%%            {"*-riak3.*", 8098}
%%]}.

{rng_seed, {1, 2, 3}}.

%% enforce_keyrange is for use with sequential_int
%% Will error if keys in a range are missing.
%%{enforce_keyrange, 10000}.

%%% MEASUREMENT SETTINGS %%%

{nodes, ['*-riak1.*','*-riak2.*','*-riak3.*']}.
{cookie, riak}.
  1. I am running this inside docker container and that docker container is part of k8s pod which is part of k8s cluster.
  2. Riak are configured as Azure VM which I can access via SSH from pod which contain my container with basho_bench script.
  3. while running the Performance test from that docker container I am getting below error.
  4. I am using this basho_bench script for the performance test first time.
  5. can someone please help me, with this error and how can I resolve this ?
  6. Any help will be really appreciated.

12:22:01.211 [error] Failed to start net_kernel for basho_bench_measurement_erlangvm: {{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}},{child,undefined,net_sup_dynamic,{erl_distribution,start_link,[#{clean_halt => false,name => basho_bench,name_domain => longnames,net_tickintensity => 4,net_ticktime => 60,supervisor => net_sup_dynamic}]},permanent,false,1000,supervisor,[erl_distribution]}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions