From owner-freebsd-hackers Sat Dec 20 07:50:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA23586 for hackers-outgoing; Sat, 20 Dec 1997 07:50:13 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA23579 for ; Sat, 20 Dec 1997 07:50:07 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.8/8.8.8) id NAA24065; Sat, 20 Dec 1997 13:49:55 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199712201549.NAA24065@gaia.coppe.ufrj.br> Subject: Re: Increasing maximum file descriptors (for max sockets) In-Reply-To: from Brandon Gillespie at "Dec 18, 97 09:02:52 am" To: brandon@roguetrader.com (Brandon Gillespie) Date: Sat, 20 Dec 1997 13:49:55 -0200 (EDT) Cc: freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk #define quoting(Brandon Gillespie) // And so on. On first glimpse through the kernel config file I can't seem // to find anything to increase the amount of file descriptors. Where is // this done? I cannot find anything about it in the docs... One thing I love in the BSD 4.4 approach is the sysctl ! Why recompile a kernel if you can do this with the system running ? Take a look at these two systcls: kern.maxfiles kern.maxfilesperproc Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67