From owner-freebsd-ports@freebsd.org Thu Jul 16 08:05:46 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6EF2E9A33B3 for ; Thu, 16 Jul 2015 08:05:46 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1.freebsd.org (Postfix) with ESMTP id 594BB1A13 for ; Thu, 16 Jul 2015 08:05:46 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id DED841146C16 for ; Thu, 16 Jul 2015 01:05:46 -0700 (PDT) Date: Thu, 16 Jul 2015 01:05:45 -0700 (MST) From: timp To: freebsd-ports@freebsd.org Message-ID: <1437033945253-6025665.post@n5.nabble.com> In-Reply-To: References: <20150714205428.367d2be0@gumby.homeunix.com> <1436935179854-6025395.post@n5.nabble.com> <20150715120726.35a59c3e@gumby.homeunix.com> <20150715150155.59642307@gumby.homeunix.com> <1436970780679-6025493.post@n5.nabble.com> Subject: Re: www/squid's cache dir MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2015 08:05:46 -0000 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. -- 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.