<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>