From owner-freebsd-questions Tue Nov 3 17:16:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA20643 for freebsd-questions-outgoing; Tue, 3 Nov 1998 17:16:38 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from sitesnow.lightstream.net (sitesnow.lightstream.net [209.57.113.248]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA20629 for ; Tue, 3 Nov 1998 17:16:37 -0800 (PST) (envelope-from gskouby@sitesnow.com) Received: from sitesnow.lightstream.net ([209.57.113.248] helo=sitesnow.com) by sitesnow.lightstream.net with smtp (Exim 1.92 #1) id 0zarXa-0006RB-00; Wed, 4 Nov 1998 01:15:18 +0000 Date: Tue, 3 Nov 1998 20:15:14 -0500 (EST) From: Greg Skouby To: Ben Smithurst cc: Luiz Lins , freebsd-questions@FreeBSD.ORG Subject: Re: Too many files In-Reply-To: <19981103213821.A8545@scientia.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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