From owner-freebsd-questions@FreeBSD.ORG Sun Dec 28 14:51:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 540D216A4CE for ; Sun, 28 Dec 2003 14:51:42 -0800 (PST) Received: from smtpout.mac.com (A17-250-248-87.apple.com [17.250.248.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45C3543D3F for ; Sun, 28 Dec 2003 14:51:41 -0800 (PST) (envelope-from paulbeard@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id hBSMpfIU015318 for ; Sun, 28 Dec 2003 14:51:41 -0800 (PST) Received: from [192.168.2.8] (12-228-114-247.client.attbi.com [12.228.114.247]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 3.0) with ESMTP id hBSMpeOR005141 for ; Sun, 28 Dec 2003 14:51:41 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v609) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <64D0D128-3988-11D8-98AE-000A95BBCCF8@mac.com> Content-Transfer-Encoding: 7bit From: paul beard Date: Sun, 28 Dec 2003 14:51:37 -0800 To: FreeBSD-questions X-Mailer: Apple Mail (2.609) Subject: Re: kern.maxfiles questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 22:51:42 -0000 Some updates to this. The machine was unresponsive this AM so I had to reboot it. I'm used to 90-100 day uptimes (as the power company permits) so this is quite unusual. On Dec 27, 2003, at 11:03 PM, paul beard wrote: > [/usr/home/paul]:: sysctl kern.openfiles kern.maxfiles > kern.openfiles: 257 > kern.maxfiles: 4040 > I raised the kern.maxfiles to 16383 and am monitoring it with mrtg (http://www.paulbeard.org/mrtg/red/red-openfiles.html). Already it's at almost 3000 (from less than 300 when I first noted it), so I assume I'll hit 4040 before too long. > and on further examination I am finding some swap shortages (this > machine has 512 Mb of real memory but only the same amount of swap). > I actually only have 256 Mb of RAM with a half gig swap partition. I added another 512 Mb swap file and I am monitoring swap vs real mem usage as well (http://www.paulbeard.org/mrtg/red/red-mem.html). if this is all I need to do, I guess that's OK, but I'm still not sure why it became an issue all of a sudden. Is there some way to find out what's tying up the file descriptors? -- Paul Beard paulbeard [at] mac.com