Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2015 09:18:39 -0700
From:      Nick Rogers <ncrogers@gmail.com>
To:        timp <timp87@gmail.com>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: www/squid's cache dir
Message-ID:  <CAKOb=YYY1G0-Q2hqP4AuetT95_SmRU=ErXDWqWApcexjV_UBig@mail.gmail.com>
In-Reply-To: <1437033945253-6025665.post@n5.nabble.com>
References:  <CAAoTqfsvewoSr07eS3pECW=nWp-cjMpR2_WDQ8BBmGt1wFNwaQ@mail.gmail.com> <20150714205428.367d2be0@gumby.homeunix.com> <1436935179854-6025395.post@n5.nabble.com> <20150715120726.35a59c3e@gumby.homeunix.com> <CAAoTqftUUgKpua7EKvZJSZKYCTsDAdREQM-=j2OF%2BAV0m_-CPQ@mail.gmail.com> <20150715150155.59642307@gumby.homeunix.com> <1436970780679-6025493.post@n5.nabble.com> <CAKOb=YbD1d0VP=1UEgvOF-S51ojp8Hk1ET1KPX=KzF2owVW88A@mail.gmail.com> <1437033945253-6025665.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 16, 2015 at 1:05 AM, timp <timp87@gmail.com> wrote:

> Hi Nick!
>
> > FWIW, I have the squid port installed on hundreds of systems, however I
> do
> > not use the port defaults and have logs and cache on a separate
> filesystem
> > mounted in /squid (i.e., /squid/logs, /squid/cache). In my opinion, it
> > makes sense for the port to default to using /var/squid/cache and
> > /var/squid/logs, which I believe is already the case?
>
> No, it's not the case for the log dir.
>
> > In my opinion using /var/cache/squid/... does not make any sense. I'm not
> > exactly sure the intention of /var/cache - my systems only use it for
> > pkg(8), but it seems intended more for a temporary application cache in
> > the
> > traditional sense and not so much for things like a web cache that need
> to
> > be much larger.
> >
> > In reality, I would think that most users of squid with a reasonably
> sized
> > cache-dir would need to relocate squid cache and logs to a filesystem of
> > larger size than the average /var, or mount /var/squid elsewhere in which
> > case they would likely want /var/squid of the /var filesystem to be
> empty.
>
>
> Ok, a small squid installation can live with /var/squid/cache or
> /var/cache/squid, it doesn't matter. If user wants to use squid extensively
> he/she does the additional work manually. That's what I understood.
>
> Just looked into ubuntu and centos - they use /var/spool/squid as a default
> cache dir.
>
> So as a conclusion I'd got rid of /var/squid/logs.
> Cache is in /var/squid/cache and logs are in /var/log/squid like right now.
>

I think that makes perfect sense as well.


>
>
>
> --
> View this message in context:
> http://freebsd.1045724.n5.nabble.com/www-squid-s-cache-dir-tp6025127p6025665.html
> Sent from the freebsd-ports mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKOb=YYY1G0-Q2hqP4AuetT95_SmRU=ErXDWqWApcexjV_UBig>