/tmp getting full form portmanager
Garrett Cooper
youshi10 at u.washington.edu
Thu Feb 8 03:26:19 UTC 2007
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
More information about the freebsd-questions
mailing list