How can I find which directories break the MAXPATHLEN variable? or can I somehow run the periodic script in verbose mode to see the output?
/Andy On Wed, Aug 22, 2012 at 2:04 PM, Andy Wodfer <wod...@gmail.com> wrote: > 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. > > /Andy > > > > On Wed, Aug 22, 2012 at 1:56 PM, Michael Ross <g...@ross.cx> wrote: > >> On Wed, 22 Aug 2012 12:59:13 +0200, Andy Wodfer <wod...@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 >> > > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"