Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!warrane.connect.com.au!kralizec.zeta.org.au!not-for-mail From: bde@kralizec.zeta.org.au (Bruce Evans) Newsgroups: comp.unix.bsd Subject: Re: Max open files for FreeBSD Date: 19 Jun 1994 05:24:22 +1000 Organization: Kralizec Dialup Unix Sydney - +61-2-837-1183, v.32bis v.42bis Lines: 28 Message-ID: <2tvhl6$n65@kralizec.zeta.org.au> References: <9406161525.aa17917@paw.montana.com> <2tr3tq$vi@pdq.coe.montana.edu> NNTP-Posting-Host: kralizec.zeta.org.au In article <2tr3tq$vi@pdq.coe.montana.edu>, Nate Williams <nate@bsd.coe.montana.edu> wrote: >In article <9406161525.aa17917@paw.montana.com>, >Greg Knoyle <gpk@paw.montana.com> wrote: > >> Can anyone tell me how to set up my FreeBSD to use unlimited files and >> memoryuse? Thanks....:) >... >Run the process as root and make sure it's process has been 'unlimited'. You don't need to be root to increase the solft limits, which by default are the same as the hard limits. Under csh: % limit datasize unlimited % limit openfiles unlimited Under bash: $ help ulimit $ ulimit -d unlimited $ # fix bash by recompiling it with the extra CFLAG of $ # -DRLIMIT_NOFILE=RLIMIT_OFILE $ ulimit -n unlimited The "unlimited" limits are 128MB and 2048 open files. The limits may be lower in practice. -- Bruce Evans bde@kralizec.zeta.org.au