From owner-freebsd-questions Thu Feb 8 14:29:29 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 C53DB37B864 for ; Thu, 8 Feb 2001 14:29:03 -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 OAA21707 for ; Thu, 8 Feb 2001 14:31:00 -0800 (PST) Received: from maskar-pc ([209.131.52.188]) by inbox2.inktomi.com (Netscape Messaging Server 4.1) with SMTP id G8GMGF00.JQU; Thu, 8 Feb 2001 14:29:03 -0800 From: "Myriam Askar" To: "reel@sympatico.ca" Cc: "FreeBSD Questions" Subject: RE: Set the number of descriptors Date: Thu, 8 Feb 2001 14:28:56 -0800 Message-ID: <000e01c0921e$86728460$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, You are absolutly right, I had changed the max number of descriptors for the kernel, but I didn't change it for the shell. By changing both, I reached my goal. Have a very nice day too! Thanks again, Myriam > -----Original Message----- > From: reel@sympatico.ca [mailto:reel@idemnia.ath.cx] > Sent: Thursday, February 08, 2001 2:21 PM > To: Myriam Askar > Cc: FreeBSD Questions > Subject: RE: Set the number of descriptors > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > 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 > > Well, when you give a look at the csh(1) manpage, it tells you somwhere: > > limit resource maximum-use > limit -h resource maximum-use > > Limit the consumption by the current process and each pro- > cess it creates to not individually exceed maximum-use on > the specified resource. If no maximum-use is given, then > the current limit is printed; if no resource is given, then > all limitations are given. If the -h flag is given, the > hard limits are used instead of the current limits. > > Maybe this could help if you tell me why you want to increase your number > of descriptors. > > Have a nice day! > > ______________________ > Felix-Antoine Paradis > reel@sympatico.ca > PGP Key ID: 0x7B3AD2C5 > > -----BEGIN PGP SIGNATURE----- > Version: PGP 6.5.1i > > iQA/AwUBOoMb2TBxB4d7OtLFEQJuTACg4ixKZi5Y2neKeOce29KeEebKZuAAoMZK > mj+2xf39dg6OGbvGEEPWfeHS > =LyN3 > -----END PGP SIGNATURE----- > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message