I have used the duplicity for backup my server files from few months before. And It was working fine. Currently I have upgraded the duplicity new version(0.7.14), after upgraded the backup manifest cache file written in large size(near to GBs) due to bulk delete or changes in files.
It was stopped the next backup process with this error - "OSError: [Errno 12] Cannot allocate memory".
Please help me on this. Is there any way to solve this problem?
Herewith I have placed the logged error information for your reference.
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1548, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1534, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1383, in main
do_backup(action)
File "/usr/bin/duplicity", line 1515, in do_backup
check_last_manifest(col_stats) # not needed for full backup
File "/usr/bin/duplicity", line 1217, in check_last_manifest
last_backup_set.check_manifests()
File "/usr/local/lib/python2.7/dist-packages/duplicity/collections.py", line 208, in check_manifests
remote_manifest = self.get_remote_manifest()
File "/usr/local/lib/python2.7/dist-packages/duplicity/collections.py", line 241, in get_remote_manifest
manifest_buffer = self.backend.get_data(self.remote_manifest_name)
File "/usr/local/lib/python2.7/dist-packages/duplicity/backend.py", line 677, in get_data
fin = self.get_fileobj_read(filename, parseresults)
File "/usr/local/lib/python2.7/dist-packages/duplicity/backend.py", line 671, in get_fileobj_read
return tdp.filtered_open_with_delete("rb")
File "/usr/local/lib/python2.7/dist-packages/duplicity/dup_temp.py", line 120, in filtered_open_with_delete
fh = FileobjHooked(path.DupPath.filtered_open(self, mode))
File "/usr/local/lib/python2.7/dist-packages/duplicity/path.py", line 779, in filtered_open
return gpg.GPGFile(False, self, gpg_profile)
File "/usr/local/lib/python2.7/dist-packages/duplicity/gpg.py", line 217, in __init__
'logger': self.logger_fp})
File "/usr/local/lib/python2.7/dist-packages/duplicity/gpginterface.py", line 374, in run
create_fhs, attach_fhs)
File "/usr/local/lib/python2.7/dist-packages/duplicity/gpginterface.py", line 414, in _attach_fork_exec
process.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
Hi team
I have used the duplicity for backup my server files from few months before. And It was working fine. Currently I have upgraded the duplicity new version(0.7.14), after upgraded the backup manifest cache file written in large size(near to GBs) due to bulk delete or changes in files.
It was stopped the next backup process with this error - "OSError: [Errno 12] Cannot allocate memory".
Please help me on this. Is there any way to solve this problem?
Herewith I have placed the logged error information for your reference.
Traceback (most recent call last): duplicity" , line 1548, in <module> tempdir( main) duplicity" , line 1534, in with_tempdir duplicity" , line 1383, in main backup( action) duplicity" , line 1515, in do_backup last_manifest( col_stats) # not needed for full backup duplicity" , line 1217, in check_last_manifest backup_ set.check_ manifests( ) lib/python2. 7/dist- packages/ duplicity/ collections. py", line 208, in check_manifests remote_ manifest( ) lib/python2. 7/dist- packages/ duplicity/ collections. py", line 241, in get_remote_manifest get_data( self.remote_ manifest_ name) lib/python2. 7/dist- packages/ duplicity/ backend. py", line 677, in get_data fileobj_ read(filename, parseresults) lib/python2. 7/dist- packages/ duplicity/ backend. py", line 671, in get_fileobj_read open_with_ delete( "rb") lib/python2. 7/dist- packages/ duplicity/ dup_temp. py", line 120, in filtered_ open_with_ delete path.DupPath. filtered_ open(self, mode)) lib/python2. 7/dist- packages/ duplicity/ path.py" , line 779, in filtered_open lib/python2. 7/dist- packages/ duplicity/ gpg.py" , line 217, in __init__ lib/python2. 7/dist- packages/ duplicity/ gpginterface. py", line 374, in run lib/python2. 7/dist- packages/ duplicity/ gpginterface. py", line 414, in _attach_fork_exec
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
do_
File "/usr/bin/
check_
File "/usr/bin/
last_
File "/usr/local/
remote_manifest = self.get_
File "/usr/local/
manifest_buffer = self.backend.
File "/usr/local/
fin = self.get_
File "/usr/local/
return tdp.filtered_
File "/usr/local/
fh = FileobjHooked(
File "/usr/local/
return gpg.GPGFile(False, self, gpg_profile)
File "/usr/local/
'logger': self.logger_fp})
File "/usr/local/
create_fhs, attach_fhs)
File "/usr/local/
process.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory