Date: Thu, 8 Feb 2001 11:22:30 -0800 From: "Myriam Askar" <maskar@inktomi.com> To: "reel@sympatico.ca" <reel@idemnia.ath.cx> Cc: "FreeBSD Questions" <questions@FreeBSD.ORG> Subject: RE: Set the number of descriptors Message-ID: <000701c09204$7aa21160$bc3483d1@maskar-pc.inktomi.com> In-Reply-To: <Pine.BSF.4.31.0102072350290.87030-100000@idemnia.ath.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c09204$7aa21160$bc3483d1>