From owner-freebsd-questions Thu Feb 8 11:22:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from or1.inktomi.com (or1.inktomi.com [209.131.48.34]) by hub.freebsd.org (Postfix) with ESMTP id 4E87737B699 for ; Thu, 8 Feb 2001 11:22:37 -0800 (PST) Received: from inbox2.inktomi.com (inbox2.inktomi.com [209.131.48.29]) by or1.inktomi.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id LAA18876 for ; Thu, 8 Feb 2001 11:24:34 -0800 (PST) Received: from maskar-pc ([209.131.52.188]) by inbox2.inktomi.com (Netscape Messaging Server 4.1) with SMTP id G8GDTN00.UFX; Thu, 8 Feb 2001 11:22:35 -0800 From: "Myriam Askar" To: "reel@sympatico.ca" Cc: "FreeBSD Questions" Subject: RE: Set the number of descriptors Date: Thu, 8 Feb 2001 11:22:30 -0800 Message-ID: <000701c09204$7aa21160$bc3483d1@maskar-pc.inktomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! Thanks you so much for answering my question. I indeed wanted to increase the number of files descriptors of the kernel. Now I have: ptest65# sysctl -a | grep maxfiles kern.maxfiles: 4000 kern.maxfilesperproc: 4000 But I still don't understand why when I type limit, I get a "descriptors 1064" ptest65# limit cputime unlimited filesize unlimited datasize 524288 kbytes stacksize 65536 kbytes coredumpsize unlimited memoryuse unlimited descriptors 1064 memorylocked unlimited maxproc 531 What does this "descriptors" represent? Thanks again! Myriam > -----Original Message----- > From: reel@sympatico.ca [mailto:reel@idemnia.ath.cx] > Sent: Wednesday, February 07, 2001 8:52 PM > To: Myriam Askar > Cc: FreeBSD Questions > Subject: Re: Set the number of descriptors > > > -----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