what system limit?

Dan Gudmundsson <>
Mon Aug 11 16:03:53 CEST 2003


Nice failure message isn't it :-) 

You're probably creating a table with the same name as an 
already existing ets table.

I.e. the system is limited to one ets table with the name 'rule' :-)

/Dan
PS: You should have got a {aborted, ...} instead of FATAL 
    in R9C!

Ulf Wiger (ÄL2/EAB) writes:
 > 
 > 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: 
 > 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: 
 > tables: 34
 > 
 > [...]
 > 
 > =ERROR REPORT==== 11-Aug-2003::13:58:17 ===
 > Mnesia(): ** ERROR ** (core dumped to file: "/home/etxuwig/work/erlang/open_source/contribs/mine/not_ready/cath-0.8/")
 > 
 >  ** 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

-- 
Dan Gudmundsson               Project:    Mnesia, Erlang/OTP
Ericsson Utvecklings AB       Phone:      +46  8 727 5762 
UAB/F/P                       Mobile:     +46 70 519 9469
S-125 25 Stockholm            Visit addr: Armborstv 1 




More information about the erlang-questions mailing list