Skip site navigation (1)Skip section navigation (2)
Date:      21 Oct 2000 20:05:34 -0400
From:      Arcady Genkin <antipode@thpoon.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Too many open files in system
Message-ID:  <87puktbv01.fsf@tea.thpoon.com>
In-Reply-To: <HLEDJBJKDDPDJBMGCLPPCEGDCGAA.otterr@telocity.com>
References:  <HLEDJBJKDDPDJBMGCLPPCEGDCGAA.otterr@telocity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Otter" <otterr@telocity.com> writes:

Otter, thanks for your reply!

> Looking at the sysctl man page, you'll find plenty of options to
> tweak. I see a kern.maxfiles option, though I'm not exactly sure what
> it does. Sounds like it may be worth looking into.

This option is not explained in the manpage, so I looked at
sys/sysctl.h file and it seems that this might be the max number of
open files on the system.  However, this number is set to 552 right
now, whereas `lsof' reports 809 open files.

,----
| soup:/usr/include/sys# sysctl kern.maxfiles
| kern.maxfiles: 552
| soup:/usr/include/sys# lsof | wc -l
|      809
`----

Am I misunderstanding something?  Any further ideas?

Many thanks,
-- 
Arcady Genkin
Don't read everything you believe.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87puktbv01.fsf>