aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3 4

Author Topic: Erroneous  (Read 28501 times)

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Erroneous
« on: January 02, 2008, 03:22:19 PM »

Hi,

I've been using amuled and remote amule gui for a very long time now. It happened to me sometimes that my disk ran full, so that amuled stops the downloads with the Status "Insufficient disk space".

I changed from build 2007-12-09 to 2008-01-01 yesterday and the disk ran full again - however, some downloads went to "Erroneous". This is the first time in my amule-life that this happens. They can't be resumed either. Nor paused. I didn't try cancel because I don't want to lose the 4,55GB of that 7,61GB file.

I tried with remote amule GUI (title says 2.2.0, so this one is pretty new) and with local amulecmd. While amuled says "Operation successful" for every command I use (pause, resume), the GUI doesn't change a thing also.

Do I really need a restart of amuled when this happens? I bring this in reference to the full disk space, because this happend last night and no files went to "Insufficient disk space".

My guess is, that something has changed in the codebase. Any hints?
Logged

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: Erroneous
« Reply #1 on: January 02, 2008, 03:27:21 PM »

A restart helped to change the Status of these files back to "Paused". However, please explain which conditions trigger this undefined status - which can't be changed at runtime.

THANKS
Logged

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: Erroneous
« Reply #2 on: January 05, 2008, 03:50:54 PM »

My disk ran full again, and 50% of my files are set to status "Erroneous". I am not able to resume the ones in this status. This is reproduceable with builds from at least 20080101 and the disks runs below the disk-free-limit (10 MB in my case) and did not happen with 20071201.

I have to restart amuled once my disk ran full.

Moderator: Please move this topic to en_Bugs. Thanks.
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Erroneous
« Reply #3 on: January 05, 2008, 04:03:41 PM »

Moderator: Please move this topic to en_Bugs. Thanks.

Done :D

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: Erroneous
« Reply #4 on: May 12, 2008, 11:00:04 AM »

Has anybody yet an idea?

This problem first occured with SVN builds beginning 1 Jan 2008 (+/- a few days), and is still hitting me since.

I'm using amuled on a linux router and its reproducable. Some files, while hitting the CheckDiskspace=1 / MinFreeDiskSpace=10, switch to "Erroneous" instead of "Paused".

The ratio is about 50/50, I however don't have exact numbers. The rather unhappy thing is, that I can't resume those files with neither remote amulegui/amulecmd nor amuleweb.

I have to restart the daemon after I free'd up some space.

Any hints? I can't believe that I'm the only one triggering this condition.

Thanks!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Erroneous
« Reply #5 on: May 12, 2008, 11:29:13 AM »

Can you please give some details on your operating system and file system?

Also, is there any log output? There should be one of the following messages in the log. (You may have to enable debug log)

Reasons for PS_ERROR:
  • Failed to open partfile
  • Failed to create partfile
  • Error while accessing partfile "file: error
  • Unexpected file error while completing file. File paused
  • EOF while hashing downloaded part part with length length (max max) of partfile 'file' with length length: error
  • Error while saving part-file: error
  • Error while truncating part-file (file): error
  • Error while accessing part-file (file): error
  • Error while retrieving file-length (file): error
  • IO failure while hashing part-file 'file': error
Logged

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: Erroneous
« Reply #6 on: May 14, 2008, 10:19:34 AM »

Hi wuischke!

I compiled with --enable-debug and --disable-optimize, started amuled and waited until the disk ran below the specified 10MB limit.

80% of my files got Paused regularly, 20% of my files are Erroneous.

This is all I can get out of my log, the problem started 2:48 last night:

Code: [Select]
2008-05-14 02:48:46: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:48:46: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:48:46: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:48:46: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:48:46: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:48:46: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:48:46: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: Success
2008-05-14 02:48:46: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: Success
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:02: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: Success
2008-05-14 02:49:05: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: Success
2008-05-14 02:49:11: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:11: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:11: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:11: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:11: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: Success
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: Success
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: Success
2008-05-14 02:49:14: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: Success
2008-05-14 02:49:35: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:35: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:36: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:36: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:36: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:36: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:36: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:36: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: Success
2008-05-14 02:49:40: PartFile.cpp(3094): PartFiles: Error while saving part-file: SafeIO::IOFailure: Error writing to file: No space left on device
2008-05-14 02:49:40: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: A
2008-05-14 02:49:44: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: B
2008-05-14 02:49:49: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: C
2008-05-14 02:49:57: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: D
2008-05-14 02:50:12: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: E
2008-05-14 02:50:12: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: F
2008-05-14 02:50:17: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: G
2008-05-14 02:50:23: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: H
[..]
2008-05-14 03:49:41: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: A
2008-05-14 03:49:46: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: B
2008-05-14 03:49:50: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: C
2008-05-14 03:49:58: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: D
2008-05-14 03:50:13: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: E
2008-05-14 03:50:13: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: F
2008-05-14 03:50:18: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: G
2008-05-14 03:50:24: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: H
2008-05-14 03:50:32: PartFile.cpp(3066): WARNING: Not enough free disk-space! Pausing file: I
[..]

Please note the curious "Success"-Partfile Error Messages in between.
The files listed as A-I are paused successfully, tho there are way more paused than listed in the log. The ones that are Erroneous do not appear in the log.

Does that help?
« Last Edit: May 14, 2008, 08:20:30 PM by chemical »
Logged

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: Erroneous
« Reply #7 on: June 16, 2008, 03:06:58 PM »

Its still present in 2.2.1, thus http://bugs.amule.org/view.php?id=1337
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Erroneous
« Reply #8 on: June 16, 2008, 07:52:02 PM »

Sorry, I was in Stockholm shortly after you wrote this and completely forgot about it.

Well, crap. There was a big redesign of file related functions in this period and I suspect the error was introduced there. Unfortunately this will require some time to investigate, which I currently lack. Maybe someone else has a look at it, if not, please remind me again this weekend.

Thanks again for your report and (eventually) making aMule better!
Logged

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: Erroneous
« Reply #9 on: June 18, 2008, 07:41:43 PM »

No problem. If there is anything I can help you with, don't hesitate to ask.
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Erroneous
« Reply #10 on: June 19, 2008, 04:37:48 PM »

Possibly related to http://forum.amule.org/index.php?topic=15299.0

Does reloading the list of shared files help as suggested there?
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Erroneous
« Reply #11 on: June 20, 2008, 11:34:31 PM »

Hmm - I think the free space detection has a problem:

Code: (CPartFile::FlushBuffer) [Select]
// Ensure file is big enough to write data to (the last item will be the furthest from the start)
uint32 newData = 0;

std::list<PartFileBufferedData*>::iterator it = m_BufferedData_list.begin();
for (; it != m_BufferedData_list.end(); ++it) {
PartFileBufferedData* item = *it;
wxASSERT((item->end - item->start) < 0xFFFFFFFF);
newData += (uint32) (item->end - item->start + 1);
}

if ( !CheckFreeDiskSpace( newData ) ) {
// Not enough free space to write the last item, bail
AddLogLineM(true, CFormat( _("WARNING: Not enough free disk-space! Pausing file: %s") ) % GetFileName());

PauseFile( true );
return;
}

It checks how much data is to be written, and if there is enough free space for it. This works (roughly) for file systems supporting sparse files. But for non sparse part files this method fails completely. Writing a few kilobytes at the end can blow up the part file to full size and consume gigabytes in a moment. This is not considered at all.

So the disk does run full (as can be seen in the log anyway). And most OS don't behave gracefully anymore when out of disc space. Failure of upload might be some consequence. A total crash (of aMule, or even the OS itself) might be another.

Chemical, what OS and file system are you using ? Are your part files on the same partition as your operating system and your amule config directory ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: Erroneous
« Reply #12 on: June 21, 2008, 02:47:44 PM »

So the disk does run full (as can be seen in the log anyway). And most OS don't behave gracefully anymore when out of disc space. Failure of upload might be some consequence. A total crash (of aMule, or even the OS itself) might be another.

Chemical, what OS and file system are you using ? Are your part files on the same partition as your operating system and your amule config directory ?

I'm using Linux (2.6.24.2) with ext3. The temp and incoming directories are on a dedicated partition - thus independent from homes, root or .aMule. Do you mean that amuled sometimes checks the disk space on the wrong partition?

The next thing is, that amuled is not always the only program adding data to that partition - this shouldn't be a problem tho.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Erroneous
« Reply #13 on: June 21, 2008, 03:36:55 PM »

Ext3 does support sparse files, so the problem shouldn't apply to you. Or ist there some tunefs option to turn it off ?
Oh, I see disc space checking can be turned off. (Now why is that an option ?  ??? )
Please look into Preferences/Files, activate "Check disk space" and set "Min disc space" to, let's say, 20MB.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

chemical

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
Re: Erroneous
« Reply #14 on: June 21, 2008, 03:39:23 PM »

Code: [Select]
donkey@prime:~/.aMule> grep -i disk amule.conf
CheckDiskspace=1
MinFreeDiskSpace=10
[UserEvents/OutOfDiskSpace]
donkey@prime:~/.aMule>

This was never changed - its activated since day one.
Logged
Pages: [1] 2 3 4