Date: Wed, 29 Mar 1995 20:14:45 +1000 From: Bruce Evans <bde@zeta.org.au> To: freebsd-hackers@FreeBSD.org, nguyen@omega.uta.edu Subject: Re: Threads / getdtablesize() Message-ID: <199503291014.UAA26379@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>I'm running FreeBSD 2.0 RELEASE, and currently, I'm allowed 64 open >files per process. [ getdtablesize() and sysconf(_SC_OPEN_MAX) >return 64]. I need to push this up to at least 256. I would like to See the setrlimit man page, the csh man page on the `limit' command, and `help ulimit' in the bash shell. >push it even higher, but sys/select.h has MAXSELFD defined as 256. No, <sys/types.h> has the user-modifiable limit FD_SETSIZE defined as 256. >For 2.0R, sysctl -w kern.maxfilesperproc = 256 fails since >"kern.maxfilesperproc" is not recognized by 2.0R. setrlimit() is more general but harder to use. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503291014.UAA26379>