file descriptor leak in 5.2-RC

Michal Mertl mime at traveller.cz
Sun Dec 21 23:30:48 PST 2003


On Sun, 21 Dec 2003, Doug White wrote:

> On Sat, 20 Dec 2003, Michal Mertl wrote:
>
> > As I already replied to Jonathan the output of fstat (and lsof) looks
> > normal. After going to _single_user_ with no processess running, fstat
> > shows only a handful of files (sh and fstat itself) yet kern.maxfiles is
> > large.
>
> nitpick: I assume you meant kern.openfiles, since kern.maxfiles is the
> systemwide limit on the # of files and doesn't change unless you change
> it.

Of course, sorry for the confusion.

I tried to reproduce the problem at home but to no avail. I will check at
work again and send the output of "sysctl kern.malloc | grep 'file desc'"
as Poul-Henning requested.


-- 
Michal Mertl


More information about the freebsd-current mailing list