我使用 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
...
你如何真正获得改变的极限?我已经谷歌没有运气:(