← Back to team overview

duplicity-team team mailing list archive

[Question #212302]: duplicity full stuck in loop gettimeofday()

 

New question #212302 on Duplicity:
https://answers.launchpad.net/duplicity/+question/212302

I running a full backup to a local USB disk. After 364G and ~18 hours it became stuck in a loop. All output to stdout and stderr stopped. The last thing on stdout was this:

AsyncScheduler: scheduling task for asynchronous execution
Processed volume 3923
Writing /mnt/external/backup-Shared/duplicity-full.20121024T210212Z.vol3923.difftar.gpg
Deleting /tmp/duplicity-0AQWHS-tempdir/mktemp-IwcN_x-3924
AsyncScheduler: task execution done (success: True)

The difftar file isn't up to the volsize of 100M.

The last thing written to stderr was:
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
This is repeated many times.

I attached to the duplicity process with strace and I'm seeing the following repeating continuously:

select(0, NULL, NULL, NULL, {0, 1000})  = 0 (Timeout)
gettimeofday({1351180030, 542252}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 2000})  = 0 (Timeout)
gettimeofday({1351180030, 544707}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 4000})  = 0 (Timeout)
gettimeofday({1351180030, 549159}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 8000})  = 0 (Timeout)
gettimeofday({1351180030, 557631}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 16000}) = 0 (Timeout)
gettimeofday({1351180030, 574106}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 32000}) = 0 (Timeout)
gettimeofday({1351180030, 606550}, NULL) = 0
select(0, NULL, NULL, NULL, {0, 33995}) = 0 (Timeout)
gettimeofday({1351180030, 640995}, NULL) = 0
gettimeofday({1351180030, 641246}, NULL) = 0
gettimeofday({1351180030, 641443}, NULL) = 0

command line:
duplicity --verbosity info --name opus-shared --volsize 100 --asynchronous-upload /filestore01/Shared file:///mnt/external/backup-Shared

Linux opus 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23 UTC 2012 i686 athlon i386 GNU/Linux
ubuntu server 12.04 LTS
duplicity 0.6.18
python 2.7.3
gpg (GnuPG) 1.4.11

If I stop this is there any way to resume the backup from this point?

I would be grateful for any help.

Keith

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.