<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">hello,<br>
      1. 写个测试程序不就好了,看看ets跑到多少了.<br>
      2. 24000应该不多吧,个人认为没有问题.但没有测过.<br>
      3. 再多的话,可以考虑用redis做session的存储,也不错啊.<br>
                                                                                 
      <br>
                                                                         
      王炜<br>
      <br>
      于 2012/8/22 20:06, 郎咸武 写道:<br>
    </div>
    <blockquote
cite="mid:CAPg1=3O+upjUwxO_Q0C6wcAT6M4wvHcMCDa6hpQJ7xuEBcxXnA@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div>大家好,</div>
      <div>我今天做压力测试遇到一个问题:</div>
      <div>在后台日志中记录了 "Cannot create an ets table for the local
        transaction store",</div>
      <div>我现在设置了 -env ERL_MAX_ETS_TABLES 24000 参数但后台还是会抛出此错误。</div>
      <div><br>
      </div>
      <div>我有以下疑问:</div>
      <div>1、文档上说默认是1400,但没有说上限是多大,请问最大可以设置是什么?</div>
      <div>2、我怎么查看我设置了24000 已生效?</div>
      <div>3、一个mnesia事物用一个ets表,由于ets个数问题,这样就限制了我的并发操作,请问如何解决?</div>
      <div><br>
      </div>
      <div>Thanks</div>
      <div>郎咸武</div>
      <div><br>
      </div>
      <div>
        <br>
      </div>
      <div><br>
      </div>
      <div><span
style="font-family:Verdana,Arial,Helvetica,sans-serif;background-color:rgb(255,255,255);font-size:medium">The
          number of tables stored at one Erlang node is limited. The
          current default limit is approximately 1400 tables. The upper
          limit can be increased by setting the environment variable </span><span
          class="code"
style="font-family:courier;background-color:rgb(255,255,255);font-size:medium">ERL_MAX_ETS_TABLES</span><span
style="font-family:Verdana,Arial,Helvetica,sans-serif;background-color:rgb(255,255,255);font-size:medium"> before
          starting the Erlang runtime system</span></div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      只为成功找方法,不为失败找理由<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>