[erlang-questions] Mnesia Crash Dump
Chandru
chandrashekhar.mullaparthi@REDACTED
Tue Feb 23 10:47:39 CET 2010
Hi Dan,
On 23 February 2010 07:30, Dan Gudmundsson <dgud@REDACTED> wrote:
> It seems that (all?) most of mnesia have stopped, since the ets tables
> are deleted, strange.
I had a look at the crash dump. It looks like the schema was changed
on one of the nodes in isolation (new schema created), so this node
crashed at startup because schema cookies didn't match.
cheers
Chandru
>
> You can send it to me, and I'll take a quick look at it.
>
> /Dan
>
> On Mon, Feb 22, 2010 at 10:05 PM, Evans, Matthew <mevans@REDACTED> wrote:
>> Hi,
>>
>> I have an mnesia core dump on a distributed Linux platform. The core appeared when I did an mnesia:start().
>>
>> I'm wondering if mnesia didn't shutdown cleanly after the node was rebooted last. We have a Linux initrd script set at run-level 6 that attempts to do an mnesia:stop() via the erl_call utility. Maybe this failed or timed-out? What is the appropriate way to shutdown mnesia on a reboot of the node?
>>
>> Salient portions of the mnesia dump are below, the complete dump is available upon request (it's 153KB in size and I'd rather not fill-up all your inboxes). I guess I'd like to know how things got into this state, and what we can do to prevent it.
>>
>> Any suggestions would be helpful
>>
>> Many Thanks
>>
>> Matt
>>
>>
>>
>>
>> {version,"4.4.11"},
>> {schema,
>> {'EXIT',
>> {badarg,
>> [{ets,match_object,[schema,'_']},
>> {ets,tab2list,1},
>> {mnesia_lib,mkcore,1},
>> {mnesia_lib,fatal,2},
>> {mnesia_sp,init_proc,4},
>> {proc_lib,init_p_do_apply,3}]}}},
>> {gvar,
>> {'EXIT',
>> {badarg,
>> [{ets,match_object,[mnesia_gvar,'_']},
>> {ets,tab2list,1},
>> {mnesia_lib,mkcore,1},
>> {mnesia_lib,fatal,2},
>> {mnesia_sp,init_proc,4},
>> {proc_lib,init_p_do_apply,3}]}}},
>> {master_nodes,[]},
>>
>> ......
>>
>>
>> {workers,
>> {'EXIT',
>> {function_clause,
>> [{mnesia_lib,workers,[{timeout,2000}]},
>> {mnesia_lib,mkcore,1},
>> {mnesia_lib,fatal,2},
>> {mnesia_sp,init_proc,4},
>> {proc_lib,init_p_do_apply,3}]}}},
>> {locking_procs,
>> {'EXIT',
>> {function_clause,
>> [{mnesia_lib,locking_procs,
>> [{'EXIT',
>> {aborted,
>> {badarg,
>> [{mnesia_locker,get_held_locks,0},
>> {mnesia,system_info,1},
>> {mnesia_lib,mkcore,1},
>> {mnesia_lib,fatal,2},
>> {mnesia_sp,init_proc,4},
>> {proc_lib,init_p_do_apply,3}]}}}]},
>> {mnesia_lib,mkcore,1},
>> {mnesia_lib,fatal,2},
>> {mnesia_sp,init_proc,4},
>> {proc_lib,init_p_do_apply,3}]}}},
>> {held_locks,
>> {'EXIT',
>> {aborted,
>> {badarg,
>> [{mnesia_locker,get_held_locks,0},
>> {mnesia,system_info,1},
>> {mnesia_lib,mkcore,1},
>> {mnesia_lib,fatal,2},
>> {mnesia_sp,init_proc,4},
>> {proc_lib,init_p_do_apply,3}]}}}},
>> {lock_queue,
>> {'EXIT',
>> {aborted,
>> {badarg,
>> [{mnesia_locker,get_lock_queue,0},
>> {mnesia,system_info,1},
>> {mnesia_lib,mkcore,1},
>> {mnesia_lib,fatal,2},
>> {mnesia_sp,init_proc,4},
>> {proc_lib,init_p_do_apply,3}]}}}},
>>
>>
>>
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>
More information about the erlang-questions
mailing list