what system limit?

Ulf Wiger (ÄL2/EAB) ulf.wiger@REDACTED
Mon Aug 11 15:10:49 CEST 2003


See the output below. I am trying to create a database using mnesia.
After a while, I get a complaint that an ets table cannot be created because
of some system limit. Which one would that be? I've verified using a small
background loop that the number of ets tables is < 40.

This happens in both R9B and R9C.

/Uffe


Erlang (BEAM) emulator version 5.2.3.1 [hipe] [threads:0]

Eshell V5.2.3.1  (abort with ^G)
1> 
[...]
=PROGRESS REPORT==== 11-Aug-2003::13:56:29 ===
         application: sasl
          started_at: cath@REDACTED
spawn(fun() -> L = fun(L1) -> io:format("tables: ~p~n", [length(ets:all())]),timer:sleep(1000),L1(L1) end, L(L) end).
tables: 12
<0.45.0>
tables: 12      
tables: 12      
tables: 12      
tables: 12      
tables: 12      

[...]

=PROGRESS REPORT==== 11-Aug-2003::13:58:16 ===
         application: mnesia
          started_at: cath@REDACTED
tables: 34

[...]

=ERROR REPORT==== 11-Aug-2003::13:58:17 ===
Mnesia(cath@REDACTED): ** ERROR ** (core dumped to file: "/home/etxuwig/work/erlang/open_source/contribs/mine/not_ready/cath-0.8/MnesiaCore.cath@REDACTED")

 ** FATAL ** {system_limit,"Cannot create ets table",
                           rule,
                           [{keypos,2},public,named_table,set],
                           {badarg,[{ets,
                                        new,
                                        [rule,
                                         [{keypos,2},public,named_table,set]]},
                                    {mnesia_monitor,handle_call,3},
                                    {gen_server,handle_msg,6},
                                    {proc_lib,init_p,5}]}}
tables: 46
tables: 46
tables: 46
tables: 46



More information about the erlang-questions mailing list