From 9fans@cse.psu.edu Tue Mar 19 15:12:09 EST 1996 Article: 1263 of comp.os.plan9 Xref: cannon.ecf comp.os.plan9:1263 Newsgroups: comp.os.plan9 Path: cannon.ecf!utnut!cs.utexas.edu!swrinde!newsfeed.internetmci.com!newsxfer2.itd.umich.edu!tank.news.pipex.net!pipex!lade.news.pipex.net!pipex!nh.acorn.co.uk!uknet!yama.mcc.ac.uk!news.salford.ac.uk!aber!bath.ac.uk!ccsis From: forsyth@plan9.CS.york.ac.UK Subject: re: File Server memory... Approved: plan9mod@bath.ac.uk Reply-To: 9fans@cse.psu.edu Sender: ccsis@bath.ac.uk (Icarus Sparry) Organization: Plan 9 mailing list Message-ID: <96Mar17.073556est.78827@colossus.cse.psu.edu> Date: Sun, 17 Mar 1996 12:42:28 GMT Lines: 16 Status: RO if you are running a file server on a machine with less than (say) 32mbytes, you might find it worthwhile making the following change to /sys/src/fs/port/main.c: currently: conf.nfile = 30000; i use if (conf.mem < 32*1024*1024) conf.nfile = 15000; else conf.nfile = 30000; you could reduce nfile still further if necessary. this reduces the number of simultaneously open files, but increases the memory available for buffers etc.