|
From: | Igor Balic |
Subject: | [Duplicity-talk] pty.fork() failed: [Errno 12] Cannot allocate memory |
Date: | Tue, 31 Jan 2012 09:53:08 +0100 |
Hello, we're having some problems with duplicity v0.6.17, restarting a failed backup. Machine has 4GB RAM, of which 3GB is free. Duplicity runs fine, but eventually eats all memory and stops with malloc error. Backups that didn't fail don't create these symptoms. Problem is recreatable and can provide any additional info. Reading globbing filelist /root/duplicity-list-home Local and Remote metadata are synchronized, no sync needed. Warning, found the following local orphaned signature file: duplicity-new-signatures.20120129T014540Z.to.20120130T070923Z.sigtar.part Warning, found the following orphaned backup file: [duplicity-inc.20120130T014542Z.to.20120130T070923Z.manifest.part] Last inc backup left a partial set, restarting. Last full backup date: Fri Jan 20 02:49:19 2012 RESTART: The first volume failed to upload before termination. Restart is impossible...starting backup from beginning. Reading globbing filelist /root/duplicity-list-home Local and Remote metadata are synchronized, no sync needed. Warning, found the following local orphaned signature file: duplicity-new-signatures.20120129T014540Z.to.20120130T070923Z.sigtar.part Warning, found the following orphaned backup files: [duplicity-inc.20120130T014542Z.to.20120130T070923Z.manifest.part] [duplicity-inc.20120130T070923Z.to.20120130T150342Z.manifest.part] Last full backup date: Fri Jan 20 02:49:19 2012 Traceback (most recent call last): File "/usr/bin/duplicity", line 1377, in ? with_tempdir(main) File "/usr/bin/duplicity", line 1370, in with_tempdir fn() File "/usr/bin/duplicity", line 1352, in main incremental_backup(sig_chain) File "/usr/bin/duplicity", line 571, in incremental_backup globals.backend) File "/usr/bin/duplicity", line 410, in write_multivol bytes_written += waiter() File "/var/tmp/duplicity-0.6.17-0.fdr.6-root-root/usr/lib64/python2.4/site-packages/duplicity/dup_threading.py", line 201, in caller File "/var/tmp/duplicity-0.6.17-0.fdr.6-root-root/usr/lib64/python2.4/site-packages/duplicity/asyncscheduler.py", line 183, in <lambda> File "/usr/bin/duplicity", line 398, in <lambda> async_waiters.append(io_scheduler.schedule_task(lambda tdp, dest_filename, vol_num: put(tdp, dest_filename, vol_num), File "/usr/bin/duplicity", line 296, in put backend.put(tdp, dest_filename) File "/var/tmp/duplicity-0.6.17-0.fdr.6-root-root/usr/lib64/python2.4/site-packages/duplicity/backends/sshbackend.py", line 219, in put File "/var/tmp/duplicity-0.6.17-0.fdr.6-root-root/usr/lib64/python2.4/site-packages/duplicity/backends/sshbackend.py", line 232, in put_sftp File "/var/tmp/duplicity-0.6.17-0.fdr.6-root-root/usr/lib64/python2.4/site-packages/duplicity/backends/sshbackend.py", line 164, in run_sftp_command File "/var/tmp/duplicity-0.6.17-0.fdr.6-root-root/usr/lib64/python2.4/site-packages/duplicity/pexpect.py", line 429, in __init__ File "/var/tmp/duplicity-0.6.17-0.fdr.6-root-root/usr/lib64/python2.4/site-packages/duplicity/pexpect.py", line 529, in _spawn ExceptionPexpect: Error! pty.fork() failed: [Errno 12] Cannot allocate memory Strace at the time of the error: munmap(0x2b056a330000, 4096) = 0 lstat("/home/user10/domains/user10.si/public_html/administrator/components/com_installer/views/manage", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 access("/home/user10/domains/user10.si/public_html/administrator/components/com_installer/views/manage", R_OK) = 0 mmap(NULL, 73125888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b056a330000 munmap(0x2b056e8ed000, 73125888) = 0 mmap(NULL, 73125888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b056e8ed000 munmap(0x2b056a330000, 73125888) = 0 mmap(NULL, 73125888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b056a330000 munmap(0x2b056e8ed000, 73125888) = 0 mmap(NULL, 73121792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b056e8ed000 munmap(0x2b056a330000, 73125888) = 0 mmap(NULL, 73121792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b056a330000 |
[Prev in Thread] | Current Thread | [Next in Thread] |