duplicity-talk
[Top][All Lists]
Advanced

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

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


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] [Errno 24] Too many open files
Date: Sat, 15 Nov 2008 13:28:55 -0600
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Robin Smidsrød wrote:
> Kenneth Loafman wrote:
>> Robin Smidsrød wrote:
>>  
>>> I'm getting this error message:
>>>
>>> Traceback (most recent call last):
>>>  File "/usr/bin/duplicity", line 522, in <module>
>>>  File "/usr/bin/duplicity", line 516, in with_tempdir
>>>  File "/usr/bin/duplicity", line 498, in main
>>>  File "/usr/bin/duplicity", line 209, in full_backup
>>>  File "/usr/bin/duplicity", line 131, in write_multivol
>>>  File "/usr/lib/python2.5/site-packages/duplicity/gpg.py", line 224, in
>>> GPGWriteFile
>>>  File "/usr/lib/python2.5/site-packages/duplicity/gpg.py", line 103, in
>>> __init__
>>>  File "/var/lib/python-support/python2.5/GnuPGInterface.py", line 357,
>>> in run
>>>  File "/var/lib/python-support/python2.5/GnuPGInterface.py", line 388,
>>> in _attach_fork_exec
>>> OSError: [Errno 24] Too many open files
>>>
>>> Is there anything I can do with this problem, or is it a duplicity
>>> problem that needs to be fixed?
>>>     
>>
>> What version of duplicity?  The current version is 0.5.02 and an update
>> may help.
> $ duplicity --version
> duplicity 0.5.02
> 
>>   Also, what is the command line?
> It's one of these three, I believe it's the second one:
> 
> duplicity cleanup --force
> file:////storage/backup/duplicity/kontor/photowork
> duplicity --full-if-older-than 1W --exclude-other-filesystems
> /var/autofs/cifs/photowork
> file:////storage/backup/duplicity/kontor/photowork
> duplicity remove-older-than 1W --force
> file:////storage/backup/duplicity/kontor/photowork
> 
> As you can see, I'm backing up a Windows SMB share via autofs automatic
> mounting (shouldn't really be of any concern, AFAIK).
>>   Any other info you can share
>> would be helpful.
>>   
> $ cat /proc/sys/fs/file-max
> 126923

This is the system-wide limit on open files (seems a bit low for a
server).  The user limit can be seen with a 'ulimit -n' and can be set
higher with a 'ulimit -n 4096' style command, as root, to work around
this problem.  I would suggest a doubling of the current ulimit.  If the
system limit is being reached somehow, then look here:

http://www.linuxforums.org/forum/redhat-fedora-linux-help/64716-where-chnage-file-max-permanently.html
or if that wraps:
http://tinyurl.com/5caer7

I'm going to need to chase this one some more it looks like.  I thought
it was fixed.

...Thanks,
...Ken


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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