Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save oltarasenko/470f29d937e688396cbad2d87b701ebc to your computer and use it in GitHub Desktop.
Save oltarasenko/470f29d937e688396cbad2d87b701ebc to your computer and use it in GitHub Desktop.
➜ erlang_mq_boost_2 erl -name oleg@10.154.1.59 -setcookie a -kernel dist_nodelay 'false' inet_dist_connect_options '[{buffer, 365536}, {sndbuf, 265536}]' +zdbbl 209715
Erlang/OTP 20 [erts-9.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V9.2 (abort with ^G)
(oleg@10.154.1.59)1> dbg:tracer().
{ok,<0.72.0>}
(oleg@10.154.1.59)2> dbg:p(all, c).
{ok,[{matched,'oleg@10.154.1.59',40}]}
(oleg@10.154.1.59)3> dbg:tp(prim_inet, send, cx).
{ok,[{matched,'oleg@10.154.1.59',2},{saved,cx}]}
(oleg@10.154.1.59)4> net_adm:ping('t@127.0.0.1').
(<0.79.0>) call prim_inet:send(#Port<0.506>,[[0,2],122,"t"],[]) ({erl_epmd,
get_port,3})
(<0.79.0>) returned from prim_inet:send/3 -> ok
(<0.79.0>) call prim_inet:send(#Port<0.507>,[110,[0,5],[0,7,127,253],"oleg@10.154.1.59"],[]) ({dist_util,
send_name,
1})
(<0.79.0>) returned from prim_inet:send/3 -> ok
(<0.79.0>) call prim_inet:send(#Port<0.507>,[114,
[208,140,171,103],
<<157,166,233,159,104,172,211,61,240,45,169,221,59,202,19,242>>],[]) ({dist_util,
send_challenge_reply,
3})
(<0.79.0>) returned from prim_inet:send/3 -> ok
pong
(oleg@10.154.1.59)5> (<0.84.0>) call prim_inet:send(#Port<0.509>,[[0,5],122,"dali"],[]) ({erl_epmd,
get_port,
3})
(<0.84.0>) returned from prim_inet:send/3 -> ok
(<0.84.0>) call prim_inet:send(#Port<0.510>,[110,[0,5],[0,7,127,253],"oleg@10.154.1.59"],[]) ({dist_util,
send_name,
1})
(<0.84.0>) returned from prim_inet:send/3 -> ok
(<0.84.0>) call prim_inet:send(#Port<0.510>,[114,
[213,5,80,74],
<<199,40,160,125,157,48,113,222,167,63,1,101,124,208,103,137>>],[]) ({dist_util,
send_challenge_reply,
3})
(<0.84.0>) returned from prim_inet:send/3 -> ok
(oleg@10.154.1.59)5>
(oleg@10.154.1.59)5> net_adm:ping('t@127.0.0.1').
pong
(oleg@10.154.1.59)6> net_adm:ping('t@127.0.0.1').
pong
(oleg@10.154.1.59)7> rpc:call('t@127.0.0.1', lists, seq, [1, 10]).
[1,2,3,4,5,6,7,8,9,10]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment