Yang Zhang wrote:
I'm running into this exception (running on Ubuntu 9.04). Anybody know
what's up with this?
$ uname -a
Linux yang-xps410 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03
UTC 2009 x86_64 GNU/Linux
$ duplicity --version
duplicity 0.5.17
$ duplicity /home/yang/personal/
OSError: [Errno 24] Too many open files
This line says it all. I just looked and Jaunty has the default of 1024
Max Open Files. duplicity will have open up about 150 of those at any
one time and each task running will have their own files open, often 50
or more, so its easy to deplete the resource.
The fix is easy: "sudo ulimit -n 4096" will up the count to 4096 Max
Open Files. This should solve the problem.
...Ken