Date: Wed, 07 Feb 2007 19:26:12 -0800 From: Garrett Cooper <youshi10@u.washington.edu> To: freebsd-questions@freebsd.org Subject: Re: /tmp getting full form portmanager Message-ID: <45CA9854.7040903@u.washington.edu> In-Reply-To: <45CA7215.7030004@enabled.com> References: <45CA6413.6000400@enabled.com> <20070207193234.BFA4.GERARD@seibercom.net> <45CA7215.7030004@enabled.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45CA9854.7040903>