From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 12:04:59 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 C8C08106564A for ; Wed, 22 Aug 2012 12:04:59 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 80BE28FC12 for ; Wed, 22 Aug 2012 12:04:59 +0000 (UTC) Received: by qcsg15 with SMTP id g15so673406qcs.13 for ; Wed, 22 Aug 2012 05:04:58 -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=+dQBJcNLexyE+18JW6Cnr3qP/Ib7eiNxluaHkQBZwhA=; b=XE3DLikDGrBvMrqt4AiRxuOoH9DRoYIsYqOkMRrqwDRPVYpmtIDiTUw+y5qP12R8F9 y9ztTtMHynR2X173kwSZpr+BcAOLSZaxsWB/poGZ06L9JM33iH3ngkIwD2C3B6s1hoyi weuE8EpR8Kxh/I0gi9P6kBtIiE4CVEwYbR/M9ZwbLLGWjEmm+CjP2GIlvPFEzlU5GL3d mzd7qbex9KNRUHDioLlz8Pq89poJ8C9dlEqVthmitUK+VBspejNgj3Y19U0GMs27tMuL bCi6RevFLJ/iAULWgdIAle00+HopFBkGdcXtX66+mnQ3/70ajDvfd8XSzu0eJL3705hE R0ZA== MIME-Version: 1.0 Received: by 10.229.135.81 with SMTP id m17mr16400672qct.34.1345637098881; Wed, 22 Aug 2012 05:04:58 -0700 (PDT) Received: by 10.229.164.206 with HTTP; Wed, 22 Aug 2012 05:04:58 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 Aug 2012 14:04:58 +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:05:00 -0000 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. /Andreas 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 >