<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>What were commands (1) and (2)?</div><div><br></div><div><div>uwair:0518 uwiger$ git clone <a href="git://github.com/esl/gproc.git">git://github.com/esl/gproc.git</a></div><div>Cloning into gproc...</div><div>remote: Counting objects: 1042, done.</div><div>remote: Compressing objects: 100% (293/293), done.</div><div>remote: Total 1042 (delta 754), reused 995 (delta 715)</div><div>Receiving objects: 100% (1042/1042), 1.03 MiB | 324 KiB/s, done.</div><div>Resolving deltas: 100% (754/754), done.</div><div>uwair:0518 uwiger$ cd gproc</div><div>uwair:gproc uwiger$ rebar get-deps compile</div><div>==> gproc (get-deps)</div><div>…</div><div>==> gproc (compile)</div><div>Compiled src/gproc_sup.erl</div><div>Compiled src/gproc_ps.erl</div><div>Compiled src/gproc_init.erl</div><div>Compiled src/gproc_monitor.erl</div><div>Compiled src/gproc_info.erl</div><div>Compiled src/gproc_app.erl</div><div>Compiled src/gproc_lib.erl</div><div>Compiled src/gproc_dist.erl</div><div>Compiled src/gproc.erl</div><div>uwair:gproc uwiger$ unset ERL_LIBS</div><div>uwair:gproc uwiger$ erl -pa ebin</div><div>Erlang R15B (erts-5.9) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]</div><div><br></div><div>Eshell V5.9  (abort with ^G)</div><div>1> application:start(gproc).</div><div>ok</div></div><div><div>2> gproc:reg({n,l,foo}).</div><div>true</div><div>3> gproc:where({n,l,foo}).</div><div><0.31.0></div></div><div><br></div><div>A possibility for the badarg exception would be that the table already exists.</div><div><br></div><div>What version of Erlang/OTP are you using?</div><div>I believe the read_concurrency & write_concurrency options were added to ETS in R14B.</div><div><br></div><div>BR,</div><div>Ulf W</div><br><div><div>On 18 May 2012, at 23:38, Milind Parikh wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">application:start(sasl).<br>application:start(gproc) fails with log attached below. <br><br>I have <br><br>0. Downloaded the latest copy of gproc (from github)<br>1. Downloaded the latest copy of rebar (from github)<br>2. copied the latest rebar into gproc<br>
3. ./rebar get-deps in gproc<br>4. ./rebar compile in gproc. <br><br>and am trying to follow <a href="http://rustyklophaus.com/articles/20090916-GProcErlangGlobalProcessRegistry.html">http://rustyklophaus.com/articles/20090916-GProcErlangGlobalProcessRegistry.html</a><br>
<br>I must be missing something trivial. Any help would be appreciated. <br><br>Thanks<br>Milind<br><br><br><br>+++++++++++++++  LOG ++++++++++++++++++++++++++++<br><br>(a@abc-laptop)3> application:start(gproc).<br><br>
=SUPERVISOR REPORT==== 18-May-2012::14:12:25 ===<br>     Supervisor: {local,gproc_sup}<br>     Context:    start_error<br>     Reason:     {'EXIT',<br>                     {badarg,<br>                         [{ets,new,<br>
                              [gproc,<br>                               [ordered_set,public,named_table,<br>                                {write_concurrency,true},<br>                                {read_concurrency,true}]]},<br>
                          {gproc,create_tabs,0},<br>                          {gproc,start_link,0},<br>                          {supervisor,do_start_child,2},<br>                          {supervisor,start_children,3},<br>
                          {supervisor,init_children,2},<br>                          {gen_server,init_it,6},<br>                          {proc_lib,init_p_do_apply,3}]}}<br>     Offender:   [{pid,undefined},<br>                  {name,gproc},<br>
                  {mfa,{gproc,start_link,[]}},<br>                  {restart_type,permanent},<br>                  {shutdown,2000},<br>                  {child_type,worker}]<br><br><br>=INFO REPORT==== 18-May-2012::14:12:25 ===<br>
    application: gproc<br>    exited: {shutdown,{gproc_app,start,[normal,[]]}}<br>    type: temporary<br>{error,{shutdown,{gproc_app,start,[normal,[]]}}}<br><br><br>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote></div><br><div apple-content-edited="true">
<div><div>Ulf Wiger, Co-founder & Developer Advocate, Feuerlabs Inc.</div><div><a href="http://feuerlabs.com">http://feuerlabs.com</a></div></div><div><br></div><br class="Apple-interchange-newline">
</div>
<br></body></html>