我在Duplicity之上使用Duply,但显然它在gnupg上失败(在100%cpu上10分钟后)
--- 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 =====
我不知道该怎么办?
你需要弄清楚你是否遇到了一个bug,或者通常需要这么多打开的文件。 你可以做的一件事就是在失败之前将lsof的输出从希望的几分钟内提取出来。 查看lsof输出以查看哪些文件已打开。 如果您正在使用股票设置,则可能只需要增加它即可:
http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/