<div dir="ltr">Additional info. The processes with highest reductions are with the following "current functions":<div><br></div><div>    {current_function,{disk_log,monitor_request,2}}<br></div><div>    {current_function,{disk_log,loop,1}}<br>
</div><div><br></div><div style>I am not sure if its related, but all the tables that are loaded successfully, have no DCL files.</div><div><br></div><div style>Karolis</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jul 8, 2013 at 2:16 PM, Karolis Petrauskas <span dir="ltr"><<a href="mailto:k.petrauskas@gmail.com" target="_blank">k.petrauskas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello,<div><br></div><div>    I cannot load table after erlang node restart. Mnesia prints no errors, just is loading the database for very long time. The database is on single node, all tables are disc_copy. In total the DB is ~220 MB. On startup, the last thing the mnesia prints is:</div>

<div><br></div><div>    Getting table my_db_lnk (disc_copies) from disc: local_only</div><div><br></div><div>Size of this table (my_db_lnk) on disc is is ~36 MB in the DCD file and ~7 MB in he DCL file. This table is not the last table to be loaded in the database. IO at that time is almost zero, but CPU is used heavily (200% on machine having 2 cores). I was waiting for 3 hours for this table and then aborted. Tried to restart the node with the following options:</div>

<div><br></div><div>    bin/app console_clean -mnesia debug trace -mnesia auto_repair false</div><div><br></div><div>But situation has not been changed. mnesia:info() shows several of my tables as active, but not all. After printing "Getting table...", mnesia prints "Transaction log dump initiated by time_threshold: already_dumped" from time to time.</div>

<div><br></div><div>    How could i debug this situation?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Karolis</div><div><br></div></font></span></div>
</blockquote></div><br></div>