cleanup results in huge process
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
When I run duplicity with 'cleanup --extra-clean' on a large backup target, I get a 13GB process that runs forever (or at least for two hours, which is how long I ran it for). strace reveals that it doesn't do any I/O but spins on the CPU the whole time.
Duplicity 0.6.24
Python 2.7.3
Debian Wheezy
Here's the output of the process:
# duplicity -v9 --archive-dir /data/duplicity
Using archive dir: /data/duplicity
Using backup name: b32efd07b4efc62
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Main action: cleanup
=======
duplicity 0.6.24 (May 09, 2014)
Args: /usr/local/
Linux leopard1 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u1 x86_64
/usr/bin/python 2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2]
=======
Listing '<Container 'vhost_
Synchronizing remote metadata to local cache...
Copying duplicity-
Using temporary directory /tmp/duplicity-
Registering (mktemp) temporary file /tmp/duplicity-
Downloading '<Container 'vhost_
[...hangs forever...]
And here's the output of collection-status for this target:
Local and Remote metadata are synchronized, no sync needed.
Warning, found incomplete backup sets, probably left from aborted session
Last full backup date: Sat Jul 26 10:24:43 2014
Collection Status
-----------------
Connecting with backend: PyraxBackend
Archive directory: /data/duplicity
Found 3 secondary backup chains.
Secondary chain 1 of 3:
-------
Chain start time: Thu Jul 3 12:36:51 2014
Chain end time: Wed Jul 9 10:15:36 2014
Number of contained backup sets: 7
Total number of contained volumes: 5821
Type of backup set: Time: Number of volumes:
-------
Secondary chain 2 of 3:
-------
Chain start time: Thu Jul 10 12:44:22 2014
Chain end time: Thu Jul 17 09:25:27 2014
Number of contained backup sets: 8
Total number of contained volumes: 8212
Type of backup set: Time: Number of volumes:
-------
Secondary chain 3 of 3:
-------
Chain start time: Fri Jul 18 10:29:29 2014
Chain end time: Fri Jul 25 09:21:46 2014
Number of contained backup sets: 8
Total number of contained volumes: 7746
Type of backup set: Time: Number of volumes:
-------
Found primary backup chain with matching signature chain:
-------
Chain start time: Sat Jul 26 10:24:43 2014
Chain end time: Wed Jul 30 08:55:59 2014
Number of contained backup sets: 5
Total number of contained volumes: 5485
Type of backup set: Time: Number of volumes:
-------
Also found 0 backup sets not part of any chain,
and 8 incomplete backup sets.
These may be deleted by running duplicity with the "cleanup" command.
This process has now been running for over 16 hours. It has progressed a little, reading more manifest files, but is still very large and using 100% CPU.