Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 1996 10:31:47 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        trig@netlink.co.uk (Christiaan Keet)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Limit of number of open files for a process?
Message-ID:  <199604260101.KAA27133@genesis.atrad.adelaide.edu.au>
In-Reply-To: <m0uCVWR-000DlFC@netlink.co.uk> from "Christiaan Keet" at Apr 25, 96 07:12:06 pm

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604260101.KAA27133>