Skip to content

Instantly share code, notes, and snippets.

@hntrmrrs
Created June 20, 2011 15:52
Show Gist options
  • Select an option

  • Save hntrmrrs/1035861 to your computer and use it in GitHub Desktop.

Select an option

Save hntrmrrs/1035861 to your computer and use it in GitHub Desktop.
Erlang R14B01 (erts-5.8.2) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.8.2 (abort with ^G)
1> application:start(sasl).
ok
2>
=PROGRESS REPORT==== 20-Jun-2011::16:50:22 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.39.0>},
{name,alarm_handler},
{mfargs,{alarm_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:22 ===
supervisor: {local,sasl_safe_sup}
started: [{pid,<0.40.0>},
{name,overload},
{mfargs,{overload,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:22 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.38.0>},
{name,sasl_safe_sup},
{mfargs,
{supervisor,start_link,
[{local,sasl_safe_sup},sasl,safe]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:22 ===
supervisor: {local,sasl_sup}
started: [{pid,<0.41.0>},
{name,release_handler},
{mfargs,{release_handler,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:22 ===
application: sasl
started_at: nonode@nohost
2> misultin:start_link([{port, 9020}, {name, misultin1}, {loop, fun(Req) -> Req:ok(["Hello World from misultin1"]) end}]).
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {local,misultin1}
started: [{pid,<0.45.0>},
{name,server},
{mfargs,{misultin_server,start_link,[[1024]]}},
{restart_type,permanent},
{shutdown,60000},
{child_type,worker}]
{ok,<0.44.0>}
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {<0.46.0>,misultin_acceptors_sup}
started: [{pid,<0.47.0>},
{name,{acceptor,1}},
{mfargs,
{misultin_acceptor,start_link,
[<0.44.0>,#Port<0.931>,9020,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {<0.46.0>,misultin_acceptors_sup}
started: [{pid,<0.48.0>},
{name,{acceptor,2}},
{mfargs,
{misultin_acceptor,start_link,
[<0.44.0>,#Port<0.931>,9020,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {<0.46.0>,misultin_acceptors_sup}
started: [{pid,<0.49.0>},
{name,{acceptor,3}},
{mfargs,
{misultin_acceptor,start_link,
[<0.44.0>,#Port<0.931>,9020,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {<0.46.0>,misultin_acceptors_sup}
started: [{pid,<0.50.0>},
{name,{acceptor,4}},
{mfargs,
{misultin_acceptor,start_link,
[<0.44.0>,#Port<0.931>,9020,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {<0.46.0>,misultin_acceptors_sup}
started: [{pid,<0.51.0>},
{name,{acceptor,5}},
{mfargs,
{misultin_acceptor,start_link,
[<0.44.0>,#Port<0.931>,9020,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {<0.46.0>,misultin_acceptors_sup}
started: [{pid,<0.52.0>},
{name,{acceptor,6}},
{mfargs,
{misultin_acceptor,start_link,
[<0.44.0>,#Port<0.931>,9020,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {<0.46.0>,misultin_acceptors_sup}
started: [{pid,<0.53.0>},
{name,{acceptor,7}},
{mfargs,
{misultin_acceptor,start_link,
[<0.44.0>,#Port<0.931>,9020,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {<0.46.0>,misultin_acceptors_sup}
started: [{pid,<0.54.0>},
{name,{acceptor,8}},
{mfargs,
{misultin_acceptor,start_link,
[<0.44.0>,#Port<0.931>,9020,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {<0.46.0>,misultin_acceptors_sup}
started: [{pid,<0.55.0>},
{name,{acceptor,9}},
{mfargs,
{misultin_acceptor,start_link,
[<0.44.0>,#Port<0.931>,9020,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {<0.46.0>,misultin_acceptors_sup}
started: [{pid,<0.56.0>},
{name,{acceptor,10}},
{mfargs,
{misultin_acceptor,start_link,
[<0.44.0>,#Port<0.931>,9020,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]}},
{restart_type,permanent},
{shutdown,brutal_kill},
{child_type,worker}]
=PROGRESS REPORT==== 20-Jun-2011::16:50:50 ===
supervisor: {local,misultin1}
started: [{pid,<0.46.0>},
{name,acceptors_sup},
{mfargs,
{misultin_acceptors_sup,start_link,
[[<0.44.0>,9020,
[binary,
{packet,raw},
{ip,{0,0,0,0}},
{reuseaddr,true},
{active,false},
{backlog,128},
inet],
10,30000,http,
{custom_opts,4096576,2000,false,undefined,
#Fun<erl_eval.6.13229925>,true,none,true,
false,false}]]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
3> misultin:start_link([{port, 9021}, {name, misultin2}, {loop, fun(Req) -> Req:ok(["Hello World from misultin2"]) end}]).
** exception exit: shutdown
4>
=CRASH REPORT==== 20-Jun-2011::16:50:59 ===
crasher:
initial call: misultin_server:init/1
pid: <0.68.0>
registered_name: []
exception exit: {badarg,[{ets,new,[pids_http,[named_table,set,protected]]},
{misultin_server,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
in function gen_server:init_it/6
ancestors: [misultin2,<0.32.0>]
messages: []
links: [<0.67.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 377
stack_size: 24
reductions: 108
neighbours:
=SUPERVISOR REPORT==== 20-Jun-2011::16:50:59 ===
Supervisor: {local,misultin2}
Context: start_error
Reason: {badarg,[{ets,new,[pids_http,[named_table,set,protected]]},
{misultin_server,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}
Offender: [{pid,undefined},
{name,server},
{mfargs,{misultin_server,start_link,[[1024]]}},
{restart_type,permanent},
{shutdown,60000},
{child_type,worker}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment