info-cvs
[Top][All Lists]
Advanced

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

RE: Too many files open error on CVS/Linux


From: Tom Gutschmidt
Subject: RE: Too many files open error on CVS/Linux
Date: Thu, 18 Apr 2002 08:36:47 -0700

I've seen this problem on other platforms as well. It might happen if cvs has lots of little changes to make all at once.

--tom--

-----Original Message-----
From: Robert J. Clark [mailto:address@hidden]
Sent: Wednesday, April 17, 2002 4:45 PM
To: address@hidden
Cc: Brett G. Palmer
Subject: Re: Too many files open error on CVS/Linux


On Wed, 17 Apr 2002 16:10:35 -0600
"Brett G. Palmer" <address@hidden> wrote:

> We run cvs on Redhat 7.0.  CVS runs well for a few weeks but then we
> start to get errors saying the following:
>
> cvs server: cannot open .cvsignore: Too many open files
> cvs server: cannot open .cvswrappers: Too many open files
> cvs server: cannot open current directory: Too many open files
>
> We usually have to reboot the server to fix the problem.  The problem
> is becoming more frequent as CVS is used more and more.  This is
> probably a Linux file handle limitation but is there a work around?
> We are also using the WinCVS client (version 1.3.7.1 Beta), but we
> have also seen this problem on JCvs.  Any help would be greatly
> appreciated.

You can change the maximum number of open files on a Linux using the
following method:

echo 8192 > /proc/sys/fs/file-max

you should also set inode-max to 3 or 4 times file-max.

echo 32768 > /proc/sys/fs/inode-max

You can make these change permanent by editing /etc/sysctl.conf (RedHat
only I believe)

See also:

<http://www.tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap6sec72.html>

- Rob


reply via email to

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