From owner-freebsd-questions@FreeBSD.ORG Mon Apr 4 05:15:48 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD6B2106566B for ; Mon, 4 Apr 2011 05:15:48 +0000 (UTC) (envelope-from MTaylor@bytecraft.com.au) Received: from bcmelmx.bytecraft.au.com (bcmelmx.bytecraft.au.com [203.39.118.2]) by mx1.freebsd.org (Postfix) with ESMTP id 673E88FC08 for ; Mon, 4 Apr 2011 05:15:48 +0000 (UTC) Received: from svmailmarshal.bytecraft.internal ([10.48.0.3]) by bcmelmx.bytecraft.au.com (8.13.8/8.12.11) with ESMTP id p3454LbP038876 for ; Mon, 4 Apr 2011 15:04:21 +1000 (EST) (envelope-from MTaylor@bytecraft.com.au) Received: from svmailmel.bytecraft.internal (Not Verified[10.48.0.24]) by svmailmarshal.bytecraft.internal with MailMarshal (v6, 8, 4, 9558) id ; Mon, 04 Apr 2011 15:04:20 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 4 Apr 2011 15:04:20 +1000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: thread-topic: Hitting kern.openfile ~= kern.maxfiles thread-index: AcvyhcIGrUn/shiyQHaJ2I/VdAFeQA== From: "Murray Taylor" To: Cc: Subject: Hitting kern.openfile ~= kern.maxfiles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2011 05:15:48 -0000 Hi all, I am getting sporadic Xorg / KDE lockups or=20 process crashes. It seems to be related to hitting the=20 kern.maxfiles value. What I am seeing looks like a lot of unclosed file descriptors that are clogging the system badly.=20 FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 Xorg 7.5 KDE 3.5.10_7 Firefox 3.6.8,1 I use Kmail to access my dovecot server on another box. Symptoms include messages like unable to cd into /home/me/stuff/next_level Or unable to access a shared lib. If I close konqerer or kamail or firefox, Then it sometimes comes good, other wise the best solution is to logout of=20 KDE / Xorg and (re)startx again. At the command prompt, without Xorg / KDE running I usually see and=20 kern.openfiles value of about 350, It will jump up to about 900 or more on the startx which also launches KDE, that up to arounf 10000, 11000 with=20 Kmail, konqerer and firefox running. It will sometime hover there for days, Then go up and cause freezes, nonstarts etc . Other times it will go up Within a hour or so.... I've looked at tuning(7) and currently kern.maxfiles is set to 24000. I have hald and dbus running for xorg Any udeas ? --=20 Murray Taylor Bytecraft Systems Special Projects Engineer P: +61 3 8710 0600 D: +61 3 9238 4275 F: +61 3 9238 4140 =20|_|0|_| "Absence of evidence =20|_|_|0| is not evidence of absence" =20|0|0|0| Carl Sagan --------------------------------------------------------------- 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.=20 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 ###