我在 Duplicity 上使用 Duply,但它显然在 gnupg 上失败了(10 分钟后 CPU 达到 100%)
--- Start running command BKP 21:10:58.679 ---
NcFTP version is 3.2.2
Reading globbing filelist /root/.duply/offsite/exclude
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Wed May 11 09:26:47 2011
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: can't open `/root/.gnupg/random_seed': Too many open files
gpg: fatal: can't open /dev/urandom: Too many open files
secmem usage: 3712/3712 bytes in 8/9 blocks of pool 4096/32768
===== End GnuPG log =====
我不知道该怎么办?
答案1
您需要弄清楚是否遇到了错误或通常需要打开那么多文件。您可以做的一件事是在运行几分钟后获取 lsof 的输出,希望是在它失败之前。查看 lsof 输出以查看它打开了哪些文件。如果您使用的是常规设置,则可能只需要增加它:
http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/