From owner-freebsd-questions@FreeBSD.ORG Tue Nov 29 00:07:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FB3D106566B for ; Tue, 29 Nov 2011 00:07:04 +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 DF8498FC15 for ; Tue, 29 Nov 2011 00:07:03 +0000 (UTC) Received: from svmailmarshal.bytecraft.internal (svmailmarshal.bytecraft.internal [10.48.0.3]) by bcmelmx.bytecraft.au.com (8.13.8/8.12.11) with ESMTP id pAT071cA085156; Tue, 29 Nov 2011 11:07:01 +1100 (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 ; Tue, 29 Nov 2011 11:07:01 +1100 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: Tue, 29 Nov 2011 11:07:00 +1100 Message-ID: In-Reply-To: <4ED3DF86.9010803@queue.to> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: too many open files Thread-Index: AcyuBv+oxgA0XypbSe+SBit0nlbfJAAIiUwg From: "Murray Taylor" To: "Howard Goldstein" , Cc: Subject: RE: too many open files 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: Tue, 29 Nov 2011 00:07:04 -0000 >On 11/27/2011 22:07, Murray Taylor wrote: >> 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....) > > File alteration monitoring > >> >> B howinhell can I clobber it so it releases the files OR >> (preferably) doesn't start doing this or anything...? > >Create a gaminrc. I stole the template from the first google hit on=20 >"gaminrc" and stuck it in /usr/local/etc/gamin/gaminrc > Hi Howard et al, My /etc/gamin/gaminrc contains this fsset ufs none fsset msdosfs none and I still have 16564 files associated with gam_server in fstat out of 17424 open files reported by sysctl kern.openfiles It appears that gam_server doesn't play nice with kill -HUP ( there are 6 processes running) and also doesn't play nice with x-org/KDE as I can often get a program hang/crash as the kernel bitches about too many open files Kmail is particularly susceptible to this. What actually initiates it as there appears to be no related entry in either /etc/rc.d or /usr/local/etc/rc.d ? Currently, it is a waste of space to me, and a cause of program instability! Annoyed, Murray T --------------------------------------------------------------- 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 ###