From owner-freebsd-questions@FreeBSD.ORG Thu Feb 8 03:26:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E036016A402 for ; Thu, 8 Feb 2007 03:26:18 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id BD30F13C4A7 for ; Thu, 8 Feb 2007 03:26:18 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l183QIrZ005439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 7 Feb 2007 19:26:18 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l183QHMG020297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 7 Feb 2007 19:26:18 -0800 Message-ID: <45CA9854.7040903@u.washington.edu> Date: Wed, 07 Feb 2007 19:26:12 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45CA6413.6000400@enabled.com> <20070207193234.BFA4.GERARD@seibercom.net> <45CA7215.7030004@enabled.com> In-Reply-To: <45CA7215.7030004@enabled.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.2.7.191433 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: /tmp getting full form portmanager 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, 08 Feb 2007 03:26:19 -0000 Noah wrote: > Hi, > > I dont think this is an adequate solution. > /tmp is filling up during the portmanager run. in other words - while I > am running /tmp fills up. so it needs to be erased periodically while > portmanager is running or else no other packages can be downloaded > > are there other solutions? > > what about a sym link to /var/tmp - will that break anything? > > Are you sure that "clear_tmp_enabled" doesnt just force clearing tmp > upon reboot? > > Cheers, > > Noah > > > > Gerard Seibert wrote: >> On Wednesday February 07, 2007 at 06:43:15 (PM) Noah wrote: >> >> >> >>> /tmp is filling from portmanager is placing .db information and build >>> details during its run. >>> >>> what options to I have to alleviate the troubles this creates? >>> >> >> Erase them. Besides how much trouble can they be causing? >> >> Honestly, portmanager only uses those files when it runs. Each time it >> is restarted, except with the '--resume' flag, it erases them and >> creates new one. >> >> By the way, do you have: >> >> clear_tmp_enabled="YES" >> >> in your /etc/rc.conf file? If not, you might want to add it if you feel >> that you /tmp directory is getting clogged with garbage. I believe there >> is a setting in periodic daily to clean out tmp files only. >> From rc.conf(5): clear_tmp_enable (bool) Set to ``YES'' to have /tmp cleaned at startup. Why not setup a parallel (background) task with a wrapper script to delete some files when upgrading ports? Either that or find a (more) free partition and symlink /var/tmp to it. -Garrett