【发布时间】:2014-08-14 10:10:12
【问题描述】:
我使用 duplicity 来备份一些文件。我现在正在尝试恢复到我的 Mac 以测试备份,但收到以下错误:
> duplicity me@backupserver.io/backup_dr ~/restored_files
Max open files of 256 is too low, should be >= 1024.
Use 'ulimit -n 1024' or higher to correct.
所以我试试:
sudo ulimit -n 1024
而且看起来还不错,然后运行:
> ulimit -a
...
open files (-n) 256
...
你如何真正获得改变的极限?我已经谷歌没有运气:(
【问题讨论】: