/tmp filesystem full

Andy Wodfer wodfer at gmail.com
Wed Aug 22 12:05:00 UTC 2012


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 <gmx at ross.cx> wrote:

> On Wed, 22 Aug 2012 12:59:13 +0200, Andy Wodfer <wodfer at gmail.com> 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
>


More information about the freebsd-questions mailing list