Subject: Re: stuck with filled vnode table
To: None <current-users@netbsd.org>
From: Simon Burge <simonb@telstra.com.au>
List: current-users
Date: 02/03/1999 00:42:35
On Tue, 2 Feb 1999 07:38:17 -0500 (EST)  Todd Vierling wrote:

> On Tue, 2 Feb 1999, Christos Zoulas wrote:
> 
> : >/usr/bin/nm: atexit.o: Too many open files in system
> 
> : >any clue on whats wrong?
> : 
> : Yeah, binutils or ar/nm is not good about closing open files. I've noticed that
> : too. Someone needs to look at this.
> 
> Uh, files get closed when a process exits.  I'd like to know how the
> *system* file table gets filled by a userland process, even one that opens a
> lot of files.

FWIW, I noticed this the other day on my i386 when doing a "make -j 5"
in /usr/src/lib.  Maybe the default number of open files (kern.maxfiles
= 1772 in my case for a GENERIC kernel) needs to be larger, although
this is easily changed on the fly or permanently with sysctl or gdb.

Simon.