backup with empty cache results in errno24 too many open files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
description -
this occurred when creating a backup after clearing the cache. it does not happen with a warm cache - tested by setting ulimit -n 10240, performing a backup, setting ulimit -n 1024 (original), performing a backup.
software -
duplicity 0.7.19
Python 2.7.18
Fedora release 30 (Thirty)
log w/ error -
# PASSPHRASE= duplicity --archive-dir /mnt/backup/cache --allow-
Synchronizing remote metadata to local cache...
[...]
Last full backup date: [...]
Traceback (innermost last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
do_
File "/usr/bin/
incremental
File "/usr/bin/
globals.
File "/usr/bin/
globals.
File "/usr/lib64/
file = GPGFile(True, path.Path(
File "/usr/lib64/
'logger': self.logger_fp})
File "/usr/lib64/
create_fhs, attach_fhs)
File "/usr/lib64/
pipe = os.pipe()
OSError: [Errno 24] Too many open files
# tree /mnt/backup/cache | tail -n1
1 directory, 3787 files
this is likely related to +bug/1878560