From owner-freebsd-ports@freebsd.org Thu Jul 16 16:18:41 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 B57AB9A30EB for ; Thu, 16 Jul 2015 16:18:41 +0000 (UTC) (envelope-from ncrogers@gmail.com) Received: from mail-yk0-x22d.google.com (mail-yk0-x22d.google.com [IPv6:2607:f8b0:4002:c07::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D4FB15D0 for ; Thu, 16 Jul 2015 16:18:41 +0000 (UTC) (envelope-from ncrogers@gmail.com) Received: by ykdu72 with SMTP id u72so68199626ykd.2 for ; Thu, 16 Jul 2015 09:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/sbKZS62X4W/e5SdSU1IjvRePq2n9Gr8KyJM5Ern2fM=; b=B9V5fjDKRCGOsgNbYPDfVPu3GQF810JD/PE1+seC+DX0JZaJ9YzcHpKvn3X0uS1LUa gPD2GPSYaTqh/x0hm5WtvMXJna/GEa7geGcY+cdKjKGbrqLoxp22CHKth4KZoFFoi59i lDF1K2rTbDNlg4yj+ke4cmPv6R6see37UDGAL2gE1p94JiAJ2ig/HC0QqMrGt1sBOS/E 5qW6hiBfjMTACs8iVJh64OE8haaJG1MRS2qFno6/gPlE/V71jZREazHRffYouJ36OWNc N6BckpL6OnH8NcHRBuSMJBFZwOQtnHzQO7pjpqviyukX81oCFfa1nthUC6GshHUcHTxo 074A== MIME-Version: 1.0 X-Received: by 10.129.133.199 with SMTP id v190mr10902721ywf.38.1437063519976; Thu, 16 Jul 2015 09:18:39 -0700 (PDT) Received: by 10.37.203.211 with HTTP; Thu, 16 Jul 2015 09:18:39 -0700 (PDT) In-Reply-To: <1437033945253-6025665.post@n5.nabble.com> 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> <1437033945253-6025665.post@n5.nabble.com> Date: Thu, 16 Jul 2015 09:18:39 -0700 Message-ID: Subject: Re: www/squid's cache dir From: Nick Rogers To: timp Cc: "freebsd-ports@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 16:18:41 -0000 On Thu, Jul 16, 2015 at 1:05 AM, timp 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" >