From owner-freebsd-questions Thu Apr 25 18:04:10 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA24973 for questions-outgoing; Thu, 25 Apr 1996 18:04:10 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id SAA24967 for ; Thu, 25 Apr 1996 18:04:07 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id KAA27133; Fri, 26 Apr 1996 10:31:47 +0930 From: Michael Smith Message-Id: <199604260101.KAA27133@genesis.atrad.adelaide.edu.au> Subject: Re: Limit of number of open files for a process? To: trig@netlink.co.uk (Christiaan Keet) Date: Fri, 26 Apr 1996 10:31:47 +0930 (CST) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: from "Christiaan Keet" at Apr 25, 96 07:12:06 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Christiaan Keet stands accused of saying: > > Is there a limit to the number of open files that one process can have at > any one time? > > I'm just switching over to FreeBSD from Linux where I experienced this > problem in that it limits you to 256 open files per process :( > Can this limit be set in FreeBSD? And if so... what is the top limit? > > Thanks... any comments appreciated cain:~>sysctl -a | grep maxfile kern.maxfiles = 2088 kern.maxfilesperproc = 2088 If that's not enough, I'm fairly certain you can raise it without any great difficulty. > Christiaan -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[