This project is read-only.
0

Closed

Doppler consumes 100% CPU if total size spacesaver is reached and oldest file in directory is .incomplete

description

  1. Create a feed with a "restrict by size on disk" space saver of a small value (ie, smaller than the combined size of two podcast files for the given feed).
  2. To simulate having an incomplete download, create a text file with the extension .incomplete and place it in the feed's download directory.
  3. Retrieve podcasts for the feed.
     
    Actual result:
    Once the download reaches 100%, doppler consumes all the CPU resources and the download never disappears from the queue window.
     
    Expected result:
    Doppler should ignore .incomplete files and successfully delete the oldest non-.incomplete file to reduce space consumed by the feed.
Closed Feb 3, 2008 at 3:45 AM by AidenMontgomery

comments

AidenMontgomery wrote Jan 31, 2008 at 9:50 AM

I have not been able to reproduce this yet.
When I tried it I found that Doppler was actually deleting the oldest file, even if it was a .incomplete file. The .incomplete file that I had in my folder was an incomplete download from a different feed than the one that had the file size restriction in place. I will try it again with a text file as the .incomplete file.

wrote Feb 3, 2008 at 3:44 AM

Determining space used in the folder included .incomplete files.  Finding the oldest file also detected .incomplete files.  However it ignores .incomplete files when attempting to clear space.  Each of the steps now ignore .incomplete files.

wrote Feb 3, 2008 at 3:45 AM

Resolved with changeset 9434.

wrote Feb 22, 2008 at 12:01 PM

wrote Feb 13, 2013 at 6:42 PM

wrote May 16, 2013 at 2:08 AM