Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!usenet From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Number of file handles Date: 7 Jan 1997 01:37:29 GMT Organization: Coverform Ltd. Lines: 19 Message-ID: <5as9cp$hho@awfulhak.demon.co.uk> References: <E3HoJ6.7Jp@racoon.riga.lv> NNTP-Posting-Host: awfulhak.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33624 In article <E3HoJ6.7Jp@racoon.riga.lv>, fairpay@stoat.riga.lv (Fair pay) writes: > Hello, > > I tried to run samba with some clients and managed to get a messages > the kernel that "file table is full". The question is how to increase > number of files kernel may keep opened at a moment ? We need about 90 > opened files per client, and there are 10-15 clients working simultaneously. You could try setting kern.maxfiles and kern.maxfilesperproc via sysctl. I think the defaults are rather poor. $ sysctl -w kern.maxfiles=2000 $ sysctl -w kern.maxfilesperproc=100 -- Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org> <http://www.awfulhak.demon.co.uk/> Don't _EVER_ lose your sense of humour....