Return to BSD News archive
From: Pascal.Gienger@uni-konstanz.de (Pascal Gienger) Subject: Re: Number of file handles Newsgroups: comp.unix.bsd.freebsd.misc References: <E3HoJ6.7Jp@racoon.riga.lv> Lines: 33 X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960722] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <32cf8ce7.0@finesse.isdn.uni-konstanz.de> Date: 5 Jan 97 11:13:43 GMT NNTP-Posting-Host: pc193.isdn.uni-konstanz.de Organization: University of Constance, Germany Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!205.252.116.190!feed1.news.erols.com!howland.erols.net!blackbush.xlink.net!news-kar1.dfn.de!news-stu1.dfn.de!news.belwue.de!news.uni-konstanz.de!not-for-mail Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33567 Fair pay <fairpay@stoat.riga.lv> wrote: : 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. What is your MAXUSERS setting in your kernel config file? Try to increase that and make a new kernel. I am using 32 and I don't have any problems. Why MAXUSERS? Because the maximum number of running processes is defined via MAXUSERS: #define NPROC (20 + 16 * MAXUSERS) and the size of the file descriptor table is based upon NPROC: int maxfiles = NPROC*2; You may see that by looking in param.c after using "config" with your changed kernel configuration file. If you don't know how to make a new kernel, please look at the handbook. It is nicely described in it. Pascal -- Pascal.Gienger@uni-konstanz.de |Prefix +49 7531|Fon 16074|Fax 20370 -------------| http://www.geocities.com/WestHollywood/1381/ |----+--------- Rechenzentrum| Tolles Internet, Teil V: Gestern war Internet was ganz nor- Uni Konstanz | males. Heute glaubt jeder Microsoft hätte es erfunden.