file descriptor leak in 5.2-RC

From: Michal Mertl <mime_at_traveller.cz>
Date: Wed, 17 Dec 2003 11:17:00 +0100 (CET)
For several weeks now I see my -current (now RELENG_5_2 to help test the
release) machine seems to be leaking file descriptors. After some time all
files (up to kern.maxfiles) are consumed.

I installed new kernel and world yesterday and the problem stil persists.
The machine is used as my workstation - it's running X, fvwm2, Apache
and Mozilla.

After reboot yesterday I had about 120 files open (as seen in sysctl
kern.openfiles). After 11 hours on inactivity (I was at home), the
system had ~400 files open. Shutdown to singlemode reduces the number only
a little (by ~100).

On another machine acting as a server (no X, no threading applications) I
don't see the problem. I've got /etc/libmap.conf set-up for libkse.

-- 
Michal Mertl
Received on Wed Dec 17 2003 - 01:17:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:34 UTC