Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 1998 20:15:14 -0500 (EST)
From:      Greg Skouby <gskouby@sitesnow.com>
To:        Ben Smithurst <ben@scientia.demon.co.uk>
Cc:        Luiz Lins <luigi@vecom.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Too many files
Message-ID:  <Pine.BSF.3.96.981103201431.17666A-100000@sitesnow.com>
In-Reply-To: <19981103213821.A8545@scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 3 Nov 1998, Ben Smithurst wrote:

> Luiz Lins wrote:
> 
> >     I have FreeBSD 2.2.6 working with apache and serving a heavy site.
> > It has about 2,000 accesses per day.  I compiled the kernel with the
> > following options:
> > CHILD_MAX=256
> > OPEN_MAX=2000
> > 
> > But, for instance, when I type "ls" the system often returns:
> > "ls: .: Too many open files in system"
> 
> I think in -current you have to set "maxusers" to increase the maximum
> number of processes, not sure about 2.2.6. Have you tried putting
> something like
> 

It is the same for 2.2.6. Increase the maxusers parameters in your kernel
config file and recompile.  This will fix your problem.



> maxusers 64
> 
> in your kernel config?  (I found that {CHILD,OPEN}_MAX had no effect.)
> 
> -- 
> Ben Smithurst
> ben@scientia.demon.co.uk
> 
> send a blank message to ben+pgp@scientia.demon.co.uk for PGP key
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981103201431.17666A-100000>