blitzy
blitzy copied to clipboard
Multi-node fails
Downloaded, compiled, compile failed as the old timex does not work on modern elixir, updated timex and the escript runs properly. Spooled up nodes b/c/d and run it again and it crashes after a few seconds with:
10:23:11.685 [info] Pummelling http://test_server01/ with 400000 requests
** (MatchError) no match of right hand side value: {:error, {:EXIT, {:undef, [{Task.Supervised, :start_link, [#PID<0.69.0>, {:"[email protected]", #PID<0.69.0>}, {Blitzy.Worker, :start, ["http://test_server01/"]}], []}, {:supervisor, :do_start_child_i, 3, [file: 'supervisor.erl', line: 374]}, {:supervisor, :handle_call, 3, [file: 'supervisor.erl', line: 399]}, {:gen_server, :try_handle_call, 4, [file: 'gen_server.erl', line: 629]}, {:gen_server, :handle_msg, 5, [file: 'gen_server.erl', line: 661]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}}}
(elixir) lib/task/supervisor.ex:67: Task.Supervisor.async/4
(elixir) lib/enum.ex:1047: anonymous fn/3 in Enum.map/2
(elixir) lib/enum.ex:1390: anonymous fn/3 in Enum.reduce/3
(elixir) lib/range.ex:69: Enumerable.Range.reduce/5
(elixir) lib/enum.ex:1389: Enum.reduce/3
(elixir) lib/enum.ex:1047: Enum.map/2
(elixir) lib/enum.ex:836: anonymous fn/3 in Enum.flat_map/2
(elixir) lib/enum.ex:1385: Enum."-reduce/3-lists^foldl/2-0-"/3