Mnesia deadlock?
Adam Aquilon
adam.aquilon@REDACTED
Fri Dec 30 16:35:28 CET 2005
On Fri, 30 Dec 2005 09:59:15 +0100, Claes Wikstom <klacke@REDACTED> wrote:
> Fishy, What you should have done is to do a process listsing i()
> and figured out which processes were waiting for which.
> The suspicios process you should do a backtrace on to get
> the stacks.
I've finally managed to make mnesia hang again.
It's wierd -- we tried to recreate all the conditions of yesterday:
sending continuous requests to the system, running dumps and backups
very often, messing about with the disk_log server on another node
(on the same host), etc, etc.
Nothing we did could make it crash, not even 100 % CPU load and
simultaneous reading from a 1 GB disk_log and converting it to a
text file in /tmp!
Eventually we got fed up and went for a coffe. When we came back,
the system had gone back into the "bad" state. Notice that it is only
the mnesia subsystem on the main node that is hanging. Everything
else is still running as before, so the text file backtraces I've
attached haven't all been taken in a static system (even though the
hung processes are pretty "stable" :-).
I included both the "i()" output from the failed node as well as
backtraces from a number of processes that could maybe be of interest
to you.
I'll try to leave the system in this state. I could even provide
ssh login to you if that'll help.
Regards,
Adam Aquilon,
Cellpoint
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: processes.txt
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051230/4f54e0bc/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disk_log_server.backtrace
Type: application/octet-stream
Size: 1393 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051230/4f54e0bc/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mnesia_checkpoint_sup.backtrace
Type: application/octet-stream
Size: 97735 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051230/4f54e0bc/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mnesia_locker.backtrace
Type: application/octet-stream
Size: 665 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051230/4f54e0bc/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mnesia_log:backup_checkpoint.backtrace
Type: application/octet-stream
Size: 636 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051230/4f54e0bc/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mnesia_log:backup_master.backtrace
Type: application/octet-stream
Size: 7197 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051230/4f54e0bc/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mnesia_tm:rec.backtrace
Type: application/octet-stream
Size: 4852 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20051230/4f54e0bc/attachment-0005.obj>
More information about the erlang-questions
mailing list