From owner-freebsd-ports@FreeBSD.ORG Sat Aug 4 16:19:55 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27477106564A for ; Sat, 4 Aug 2012 16:19:55 +0000 (UTC) (envelope-from itechbear@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D9D188FC08 for ; Sat, 4 Aug 2012 16:19:54 +0000 (UTC) Received: by obbun3 with SMTP id un3so3676366obb.13 for ; Sat, 04 Aug 2012 09:19:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ra+DdAUTMTSqvnmt3vzhnY/WGCBbFzqu/N6JqxIvuio=; b=uZ2YHQGSltCCQAEmovds1ILhAPsIu069YZ9+dDGOlV9o5fuJUOEyt8e5XNNE+JeGfH +fa4gcQfrXwnWrnBAC1ybylt4LPHwZrploDRSne2NGKC3bSUkdfqm7qnR6tlcEmHmzgu vcWBBV6uzP6+1aXHraD2ZpW9GbxhkYRhcNYk6WuuDeADAQGgWBA/MhHMO+yMCLjfK6vu J/uRsi29zGF9Px3bRQ27/6McN5COyrHjSJpil+v4RQAPRF5CfeEPSTm0jdjPSnHrds4z cjg23KWGx8zHx50orCxgZQCIEwpQPNP7xBdERtkU98njqrRDMWsHqmZbTvquMjXAnpqa 7nmw== MIME-Version: 1.0 Received: by 10.182.89.102 with SMTP id bn6mr11267046obb.7.1344097194036; Sat, 04 Aug 2012 09:19:54 -0700 (PDT) Received: by 10.76.10.41 with HTTP; Sat, 4 Aug 2012 09:19:53 -0700 (PDT) In-Reply-To: References: Date: Sun, 5 Aug 2012 00:19:53 +0800 Message-ID: From: HU Dong To: Marco Beishuizen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org, Kevin Oberman Subject: Re: gam_server hitting 100% cpu X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Aug 2012 16:19:55 -0000 The file /usr/local/etc/gamin/gaminrc is not always necessary, and setting the time interval to 10 seconds may cause gamin to function improperly according to my experience. Hope someone could dig into the problem and find a solution. B.R. HU Dong On Sat, Aug 4, 2012 at 10:48 PM, Marco Beishuizen wrote: > On Sat, 4 Aug 2012, the wise Kevin Oberman wrote: > > Finally found this one. > > Gamin needs some files that aren't there by default: > ~/.gaminrc and /usr/local/etc/gamin/gaminrc. > > In these files you need to put two lines: > fsset ufs poll 10 > fsset zfs poll 10 > > to prevent gam_server from polling constantly. > > Regards, > > Marco > > NB: don't know if this mail is making it to the ports mailing list. My ISP > is blocking freebsd.org for some reason. > > -- > Leibowitz's Rule: > When hammering a nail, you will never hit your > finger if you hold the hammer with both hands. >