From owner-freebsd-questions Sat Oct 21 17: 5:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from soup.thpoon.com (cr103675-a.bloor1.on.wave.home.com [24.114.152.71]) by hub.freebsd.org (Postfix) with SMTP id 0AC1A37B479 for ; Sat, 21 Oct 2000 17:05:36 -0700 (PDT) Received: (qmail 18172 invoked from network); 22 Oct 2000 00:05:34 -0000 Received: from unknown (HELO tea.thpoon.com) (mail@192.168.1.2) by cr103675-a.bloor1.on.wave.home.com with SMTP; 22 Oct 2000 00:05:34 -0000 Received: from antipode by tea.thpoon.com with local (Exim 3.12 #1 (Debian)) id 13n8dq-0005pR-00 for ; Sat, 21 Oct 2000 20:05:34 -0400 To: freebsd-questions@FreeBSD.ORG Subject: Re: Too many open files in system References: From: Arcady Genkin X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: thpoon.com Mail-Copies-To: never Date: 21 Oct 2000 20:05:34 -0400 In-Reply-To: Message-ID: <87puktbv01.fsf@tea.thpoon.com> Lines: 26 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Otter" 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