too many open files

Murray Taylor MTaylor at
Mon Nov 28 03:42:17 UTC 2011

I have have the same issue on a 8.0-RELEASE box and found with 
fstat the tgam_server was holding 12511 open files ...

A what purpose does this serve (google seems to indicate
that it is to speed up file access....)

B howinhell can I clobber it so it releases the files OR 
(preferably) doesn't start doing this or anything...? 

Murray Taylor
Bytecraft Systems
Special Projects Engineer

P: +61 3 8710 0600
D: +61 3 9238 5168
F: +61 3 9238 5140

 |_|0|_|        "Absence of evidence
 |_|_|0|        is not evidence of absence"
 |0|0|0|        Carl Sagan

-----Original Message-----
From: owner-freebsd-questions at
[mailto:owner-freebsd-questions at] On Behalf Of Adam Vande
Sent: Monday, 28 November 2011 1:57 PM
To: Robert Huff
Cc: questions at
Subject: Re: too many open files

On Sun, Nov 27, 2011 at 8:50 PM, Robert Huff <roberthuff at> wrote:

>        After rebooting, I have been keeping track of kern.openfiles.
> Just after boot, it was about 575.  Two hours later, it is over 3100
> and climbing slowly but steadily.  (There are moments when the
> number drops by <5 ... but then goes up again.)
>        How do I figure out what is doing this?  Looking at the process
> list (appended) I see no obvious candidates.

Adam Vande More
freebsd-questions at mailing list
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at"
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.

### This e-mail message has been scanned for Viruses by Bytecraft ###

More information about the freebsd-questions mailing list