duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] OSError: [Errno 24] Too many open files


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] OSError: [Errno 24] Too many open files
Date: Fri, 08 May 2009 06:18:43 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

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


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]