From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 12:12:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B66951065670 for ; Wed, 22 Aug 2012 12:12:31 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9A38FC19 for ; Wed, 22 Aug 2012 12:12:31 +0000 (UTC) Received: by qadc11 with SMTP id c11so4966710qad.13 for ; Wed, 22 Aug 2012 05:12:25 -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=jfwmK3LFYSMVpk7SorHp5UH0wVZrdl7dFL2/nU6qY2g=; b=QjWUu5Ik5w1UhlXN01+ww5wLMiSOeH9uHXttebtKvacYLVEuahwUVuVjm0h4Z+3m+T urDr6QJZktDZHBd+5eIxMSZsJmJ6tkbNO86ANf+xukP31lF2+wSpzAQPW6uPZ6VAlbd2 dJAl3AjEtg0nSUjyhpY3ApvELWsOpDCpZKFuZzFFsCaCQu6FkBskgL37qLFRenG/2BcU mq3ToqKdBjNSkiVvk2vk4Yslm1uNyFAWWTMGMZ7lnlq79XJGAplzX2rhbix6cMs7nNU5 vGn1VmN5TQFps1uNhhCkAFK7WdKDld/sTMl+W3AtAHm1eblNdfHh2KalQZ2y/NHGQqKA eP1Q== MIME-Version: 1.0 Received: by 10.229.135.67 with SMTP id m3mr4697991qct.26.1345637545484; Wed, 22 Aug 2012 05:12:25 -0700 (PDT) Received: by 10.229.164.206 with HTTP; Wed, 22 Aug 2012 05:12:25 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 Aug 2012 14:12:25 +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: Wed, 22 Aug 2012 12:12:31 -0000 How can I find which directories break the MAXPATHLEN variable? or can I somehow run the periodic script in verbose mode to see the output? /Andy On Wed, Aug 22, 2012 at 2:04 PM, Andy Wodfer wrote: > Thanks to all for your input! > > Editing /etc/periodic.rc seem to do the trick, but now I faced a different > problem which I've never seen before: > > locate: integer out of +-MAXPATHLEN (1024): 1029 > > > There are some directories that contains A LOT of small files I think. > Need to investigate. > > Also thanks for the tip on omitting parts of the filesystem. Perhaps I > need to do that. > > /Andy > > > > On Wed, Aug 22, 2012 at 1:56 PM, Michael Ross wrote: > >> On Wed, 22 Aug 2012 12:59:13 +0200, Andy Wodfer wrote: >> >> Hi, >>> I have about 500MB in my /tmp and it seems to be too small when the >>> periodic LOCATE script runs every week. >>> >>> What's the best way to increase the size of /tmp ? Could I simply remove >>> it >>> and create a symbolic link ln -s to say /usr/tmp instead (where I have >>> several hundred GBs free)? >>> >>> PS! This is on a live server and I would like to keep downtime and >>> problems >>> to a minimum. :-) >>> >>> Cheers, >>> Andy >>> >> >> If it's just locate.updatedb filling it up temporarily, >> perhaps you can solve this by ommitting part of your filesystem from the >> locate index. >> >> See /etc/locate.rc >> >> >> Regards, >> >> Michael >> > >