From owner-freebsd-questions@FreeBSD.ORG Thu Aug 23 09:04:08 2012 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 CA5891065673 for ; Thu, 23 Aug 2012 09:04:08 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7D51C8FC08 for ; Thu, 23 Aug 2012 09:04:08 +0000 (UTC) Received: by qatn12 with SMTP id n12so360445qat.13 for ; Thu, 23 Aug 2012 02:04:02 -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 :content-type; bh=zFuIeRSmQ71eknsW8nqftUK8uK7Pe6TXepuQ9ZrYhbQ=; b=glPEhPmEfazJAE1N65BOti81sSLXiIe7wKSxhxbu9DGx/14e3vWyHCxRQDqfWQEuJ3 GuTTGnMSJ8y5TD4Ql2NgCBOr1hfsyoRurUc2sCrd3hXywnvu3PvCmCRBlTtT0Wtnvtj5 mt/4sy8KEWfoNObaoUDq8ofGlp9wfwak/WVIqu0Rv0y7bZ3ZdxiPw1sXBkdRTmPNmOJk b4EKYzK8v3fg/4w4gPtueQCN84DRKt/5CliAtOa5rQSiUMQ0cNzfR1DUfwKym76lkkyE lJR3QHTFQluwZEaGMJNpbWovX6fHr/LkuEIFsHQSyRHXoOd6CJZxvZyKPb8TElRuDwi8 fDQA== MIME-Version: 1.0 Received: by 10.229.136.82 with SMTP id q18mr315836qct.108.1345712642253; Thu, 23 Aug 2012 02:04:02 -0700 (PDT) Received: by 10.229.164.206 with HTTP; Thu, 23 Aug 2012 02:04:02 -0700 (PDT) In-Reply-To: References: <201208221934.q7MJYfwM063804@mail.r-bonomi.com> <1345664911.2501.8.camel@z6000.lenzicasa> <20120822232112.07ac3517@gumby.homeunix.com> <20120822232907.34fc82fc@gumby.homeunix.com> <20120823031754.0b52bed6@gumby.homeunix.com> Date: Thu, 23 Aug 2012 11:04:02 +0200 Message-ID: From: Andy Wodfer To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: /tmp filesystem full 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: Thu, 23 Aug 2012 09:04:08 -0000 Can't seem to figure out the problem with MAXPATHLEN. locate: integer out of +-MAXPATHLEN (1024): 1029 In my /etc/locate.rc I have pruned several directories (even the most obvious) - still the locate DB exeeds well over 1GB before outputting this error message. I have moved the tmp dir for locate to /usr/tmp which works fine (changed in locate script) and there is no problems with diskspace here. the find awk command suggested earlier in this thread didn't give me a better clue about what's happening. Anyone have any other ideas what I can try to find out why locate fails? Thanks! Andy On Thu, Aug 23, 2012 at 6:24 AM, Michael Sierchio wrote: > On Wed, Aug 22, 2012 at 7:17 PM, RW wrote: > > > tmpfs and "swap" md devices don't actually need swap. I don't seen any > > advantage in your way of creating an md device for /tmp. > > Then you don't understand. ;-) The advantage of my approach is > avoiding a kernel panic when writing to the tmpfs when you haven't > pre-allocated all the filesystem space at creation time. If that > happens to matter to you... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >