From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 20 14:01:21 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C373C37B401 for ; Sun, 20 Apr 2003 14:01:21 -0700 (PDT) Received: from smartrafficenter.org (pacer.smartrafficenter.org [207.14.56.3]) by mx1.FreeBSD.org (Postfix) with SMTP id E06C143FE1 for ; Sun, 20 Apr 2003 14:01:20 -0700 (PDT) (envelope-from kpieckiel@smartrafficenter.org) Received: (qmail 21558 invoked by uid 1500); 20 Apr 2003 21:01:18 -0000 Date: Sun, 20 Apr 2003 17:01:18 -0400 From: "Kevin A. Pieckiel" To: freebsd-hackers@freebsd.org Message-ID: <20030420210118.GA21255@pacer.dmz.smartrafficenter.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline User-Agent: Mutt/1.4i Subject: maxfiles, file table, descriptors, etc... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 21:01:22 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline First, do open sockets (inet or unix) or pipes (via pipe(2)) count against kern.maxfiles, kern.maxfilesperproc, and other related limits? Second, are there sysctl variables that indicate the size or usage of the file table? Or is this simply indicated by maxfiles (and perhaps others)? Or is there a program that will report this info? Third, where is the limit for the number of file descriptors that can be open set? Or is this the same limit as maxfiles, etc? Fourth, is there a difference between an open file and an open descriptor? These questions were spawned from the errors possibly returned by pipe(2). I'm not clear on what the entities and limits are as they involve such things as the file table, open files, open descriptors, etc. Finally, are answers to these questions OS specific, or are they part of a standard indicating how such things behave? Thanks, Kevin "Beware when the great God lets loose a thinker on this planet." -- Ralph Waldo Emerson --- This message was signed by GnuPG. E-Mail kpieckiel-pgp@smartrafficenter.org to receive my public key. You may also get my key from pgpkeys.mit.edu; my ID is 0xF1604E92 and will expire on 01 January 2004. --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE+owqac3iJbvFgTpIRAgJjAJwMBECbgJ/hCbRMNEOm64lmSCQs8QCfeaIW pBhDBqf3o5b9Aytj1giJJ00= =CFnT -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--