mldonkey-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-bugs] [bug #13198] *.ini files ought to be more crash resistan


From: anonymous
Subject: [Mldonkey-bugs] [bug #13198] *.ini files ought to be more crash resistant
Date: Thu, 26 May 2005 14:33:27 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1

Follow-up Comment #2, bug #13198 (project mldonkey):

Let me first clarify that by "it" I usually meant "the power outage" not
"MLD".  Upon rereading I realized, that my text begs for that
misunderstanding.  I do not think that MLD is at fault, that is why I filed
as RFE because I hope there is a way to make MLD handle such situations out
of its control more elegantly.  One suggestion might be to not rely on the
huge files.ini but on a dir where there is one file for each download.  There
might be other things that improve handling crash situations.  I opened this
RFE to discuss these things.

MLD is automatically restarted via /etc/init.d/mldonkey-server upon restart. 
That script is from the Debian package.

Of course, MLD did not delete the files itself.  The problem is that
apparently all files were open when the crash occured.  The computer
automatically restarted and fsck'ed the ext2 partition.  I assume that failed
and so it booted nonetheless and mounted the partition unchecked (there was
entry to that effect in dmesg).  MLD got started and oldconfig apparently was
overwritten with the corrupt files.

Currently, the ini files are non-existant, not even default ones.  MLD stops
shortly after being started.

Once I realized the problem this morning, I shut down the computer and booted
into a rescue system and fsck'ed the data partition from there.  Apparently,
the only affected files were the *.ini files for MLD.  Before confirming for
e2fsck to fix the problems, I aborted the program and tried to back them up
because I figured they'd be toast after e2fsck was done.  It was already too
late :-(  The files were already irrecoverable before e2fsck fixed things.

I do not think this whole thing is really a program malfunction but an RFE as
requested earlier.  It appears that MLD kept all ini files open at the time of
the crash.  Otherwise they would not have become corrupted I guess.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13198>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]