From owner-freebsd-questions Wed Feb 7 20:52:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by hub.freebsd.org (Postfix) with ESMTP id 5368837B491 for ; Wed, 7 Feb 2001 20:52:35 -0800 (PST) Received: from HSE-QuebecCity-ppp80576.qc.sympatico.ca ([64.229.233.3]) by tomts5-srv.bellnexxia.net (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010208045234.BDFL10759.tomts5-srv.bellnexxia.net@HSE-QuebecCity-ppp80576.qc.sympatico.ca>; Wed, 7 Feb 2001 23:52:34 -0500 Date: Wed, 7 Feb 2001 23:52:27 -0500 (EST) From: "reel@sympatico.ca" To: Myriam Askar Cc: FreeBSD Questions Subject: Re: Set the number of descriptors In-Reply-To: <001f01c0918a$6de78e20$bc3483d1@maskar-pc.inktomi.com> 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 7 Feb 2001, Myriam Askar wrote: > Hi, > I am using FreeBSD 4.1-RELEASE (GENERIC) #0: Fri Jul 28 14:30:31 GMT 2000 > ******************** > $ uname -a > FreeBSD ptest65.tsqa.inktomi.com 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Fri Jul > 28 14:30:31 GMT 2000 jkh@ref4.freebsd.org:/usr/src/sys/compile/GENERIC > i386 > ******************** > > And I would like to boost the descriptors from 1064 to a bigger number. > But it seems that I cannot go above 1064, when I do a : > limit descriptors 4000 > It does not affect the number. > Do I need to recompile the kernel? > And if yes, how should I do it? You want to ask about changing the number of file descriptors? To know how much you have, type: # sysctl -a | grep maxfiles Then, just do: # sysctl -w kern.maxfiles=4000 Maybe it'll help you. Have a nice day! ______________________ Felix-Antoine Paradis reel@sympatico.ca PGP Key ID: 0x7B3AD2C5 -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1i iQA/AwUBOoImETBxB4d7OtLFEQLNuwCeLC8b5hFBWTnmJYcaQmwUR3NoP94AniGf B9fBS8AQHqxKmsSuHts8S49P =1FAX -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message