Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2001 14:28:56 -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:  <000e01c0921e$86728460$bc3483d1@maskar-pc.inktomi.com>
In-Reply-To: <Pine.BSF.4.31.0102081710280.3763-100000@idemnia.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000e01c0921e$86728460$bc3483d1>