Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2001 17:21:07 -0500 (EST)
From:      "reel@sympatico.ca" <reel@idemnia.ath.cx>
To:        Myriam Askar <maskar@inktomi.com>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   RE: Set the number of descriptors
Message-ID:  <Pine.BSF.4.31.0102081710280.3763-100000@idemnia.ath.cx>
In-Reply-To: <000701c09204$7aa21160$bc3483d1@maskar-pc.inktomi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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?Pine.BSF.4.31.0102081710280.3763-100000>