[erlang-questions] Distrobuted/Fragmented Mnesia node crash
Eranga Udesh
casper2000a@REDACTED
Sat Oct 27 08:18:34 CEST 2007
I created a Fragmented Mnesia HowTo at
http://www.trapexit.org/Mnesia_Table_Fragmentation. Mnesia experts, pls let
me know if there's any wrong or better ways of doing things than how I have
written there.
BRgds,
- Eranga
-----Original Message-----
From: Eranga Udesh [mailto:casper2000a@REDACTED]
Sent: Tuesday, October 09, 2007 10:31 PM
To: 'Torbjorn Tornkvist'; 'erlang-questions@REDACTED'
Subject: RE: [erlang-questions] Distrobuted/Fragmented Mnesia node crash
Well, the node suddenly terminates. I think getting Segmentation Fault. Node
is running as a Release and I used both ERL_CRASH_DUMP and
ERL_CRASH_DUMP_SECONDS env variables, but unfortunately the crash even
doesn't create the Crash Dump file. I will try to debug this further and
publish any findings I get. Meanwhile anybody else getting a similar issues,
pls share.
Yes, I will do a write up at trapexit about fragmented mnesia.
Brgds,
- Eranga
-----Original Message-----
From: erlang-questions-bounces@REDACTED
[mailto:erlang-questions-bounces@REDACTED] On Behalf Of Torbjorn Tornkvist
Sent: Tuesday, October 09, 2007 7:28 PM
To: erlang-questions@REDACTED
Subject: Re: [erlang-questions] Distrobuted/Fragmented Mnesia node crash
What errors do you get?
We know there is a lurking bug somewhere in the dets code.
We have got 'bad object' and 'premature eof' every other
month the last year. We have not been able to track the
bug down since the dets files is repaired automatically
next time it is opened.
As a temporary solution we restart mnesia whenever this error occurs...
Btw: it would be very nice if you had the time to write a little
trapexit-tutorial describing your fragmented setup.
Cheers, Tobbe
Eranga Udesh wrote:
> Hi,
>
> I run 3 distributed Erlang nodes, dedicated to run Mnesia database server.
> Another Erlang node runs the application which read/write to those tables.
> Schema is created as disk_copies in all 4 nodes and tables are created as
> fragmented and distributed tables between 3 dedicated Mnesia nodes. I.e.
99
> fragments of a table distributed in 3 nodes resulting 33 fragments in
each.
> There're about 250-350 Db write/s and 500-800 DB read/s
>
> Performance is quite good. I don't see "Mnesia overloaded" warnings.
However
> occasionally one of the Mnesia node crashes. Sometimes the time between 2
> crashes of the same Mnesia node may be about 1-2 days, while the next
crash
> takes about 10-20 days to happen. It doesn't even generate the crash_dump
> file or even if its generated, the size is 0 bytes.
>
> Any idea what could be the cause? Are others also experience the same? I
> don't see any abnormal Load, Processor or Memory usage when these crashes
> occurs.
>
> BRgds,
> - Eranga
>
>
_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://www.erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list