Hit ratio dropped significantly after recent upgrades

2016-12-07 Thread Justin Lloyd
Hello, I use Varnish on four load-balanced web servers running Apache with several virtual hosts providing MediaWiki wikis. Last week I upgraded the web servers to support upgrading MediaWiki from 1.26 to 1.27 due to PHP requirements. This meant upgrading (reinstalling) Ubuntu 12.04 to 16.04,

RE: Hit ratio dropped significantly after recent upgrades

2016-12-09 Thread Justin Lloyd
ery similar, https://github.com/varnishcache/varnish-cache/issues/1859 On Thu, Dec 8, 2016 at 9:26 PM, Justin Lloyd <just...@arena.net> wrote: > I have been doing a lot of digging with varnishtop and varnishlog, and our > VCL really didn’t change from this upgrade except as needed to

RE: Hit ratio dropped significantly after recent upgrades

2016-12-09 Thread Justin Lloyd
ginal Message- From: Dridi Boukelmoune [mailto:dr...@varni.sh] Sent: Friday, December 9, 2016 10:11 AM To: Justin Lloyd <just...@arena.net> Cc: Dag Haavi Finstad <da...@varnish-software.com>; varnish-misc@varnish-cache.org Subject: Re: Hit ratio dropped significantly after recent upgrades

RE: Hit ratio dropped significantly after recent upgrades

2016-12-09 Thread Justin Lloyd
-misc-bounces+justinl=arena@varnish-cache.org] On Behalf Of Justin Lloyd Sent: Friday, December 9, 2016 5:44 AM To: Dag Haavi Finstad <da...@varnish-software.com> Cc: varnish-misc@varnish-cache.org Subject: RE: Hit ratio dropped significantly after recent upgrades Hello! Yes, it is Varnish

RE: Hit ratio dropped significantly after recent upgrades

2016-12-12 Thread Justin Lloyd
connections. -Original Message- From: varnish-misc-bounces+justinl=arena@varnish-cache.org [mailto:varnish-misc-bounces+justinl=arena@varnish-cache.org] On Behalf Of Justin Lloyd Sent: Friday, December 9, 2016 11:19 AM To: Dridi Boukelmoune <dr...@varni.sh> Cc: varnis

RE: Hit ratio dropped significantly after recent upgrades

2016-12-13 Thread Justin Lloyd
let you know how this goes. Justin -Original Message- From: Dridi Boukelmoune [mailto:dr...@varni.sh] Sent: Tuesday, December 13, 2016 7:42 AM To: Justin Lloyd <just...@arena.net> Cc: Guillaume Quintard <guilla...@varnish-software.com>; varnish-misc@varnish-cache.org Subj

RE: Hit ratio dropped significantly after recent upgrades

2016-12-13 Thread Justin Lloyd
even a max of 48h may be reasonable. So I'll do more testing today and see how things go. Thanks! -Original Message- From: Florian Tham [mailto:fgt...@gmail.com] Sent: Tuesday, December 13, 2016 12:13 PM To: Justin Lloyd <just...@arena.net> Cc: varnish-misc@varnish-cache.org S

RE: Hit ratio dropped significantly after recent upgrades

2016-12-14 Thread Justin Lloyd
[mailto:varnish-misc-bounces+justinl=arena@varnish-cache.org] On Behalf Of Justin Lloyd Sent: Tuesday, December 13, 2016 12:19 PM To: Florian Tham <fgt...@gmail.com> Cc: varnish-misc@varnish-cache.org Subject: RE: Hit ratio dropped significantly after recent upgrades Based on this conversation, I

RE: Hit ratio dropped significantly after recent upgrades

2016-12-16 Thread Justin Lloyd
on that, I'd appreciate it. -Original Message- From: Dridi Boukelmoune [mailto:dr...@varni.sh] Sent: Wednesday, December 14, 2016 7:20 AM To: Justin Lloyd <just...@arena.net> Cc: Florian Tham <fgt...@gmail.com>; varnish-misc@varnish-cache.org Subject: Re: Hit ratio dropped signifi

RE: Hit ratio dropped significantly after recent upgrades

2016-12-13 Thread Justin Lloyd
3, 2016 at 3:37 AM, Justin Lloyd <just...@arena.net<mailto:just...@arena.net>> wrote: To follow up on my last email from Friday, at this point the problem boils down to one thing that I've not been able to determine: Why are far fewer things being cached now than before the upgrade

RE: Hit ratio dropped significantly after recent upgrades

2016-12-13 Thread Justin Lloyd
/Manual:Varnish_caching -Original Message- From: Dridi Boukelmoune [mailto:dr...@varni.sh] Sent: Tuesday, December 13, 2016 6:40 AM To: Justin Lloyd <just...@arena.net> Cc: Guillaume Quintard <guilla...@varnish-software.com>; varnish-misc@varnish-cache.org Subject: Re: Hit r

RE: Hit ratio dropped significantly after recent upgrades

2016-12-13 Thread Justin Lloyd
Actually, unless I'm missing something, that line would only matter for requests with Authorization headers, which none of our responses have since we don’t use http authentication. -Original Message- From: Justin Lloyd Sent: Tuesday, December 13, 2016 6:47 AM To: 'Dridi Boukelmoune

RE: Hit ratio dropped significantly after recent upgrades

2016-12-13 Thread Justin Lloyd
, though I'd lean towards the former as being more likely. -Original Message- From: Dridi Boukelmoune [mailto:dr...@varni.sh] Sent: Tuesday, December 13, 2016 7:13 AM To: Justin Lloyd <just...@arena.net> Cc: Guillaume Quintard <guilla...@varnish-software.com>; varnish-

Varnish HA and MediaWiki HTTP PURGEs

2021-06-14 Thread Justin Lloyd
Hi all, I just saw the new Varnish HA video and was wondering if VHA's node synchronization would obviate the need for all of the Varnish nodes to be listed in the MediaWiki Varnish caching

RE: Varnish HA and MediaWiki HTTP PURGEs

2021-06-14 Thread Justin Lloyd
Thanks, Guillaume! I may follow up with you separately to discuss this in more depth since this could help with a redesign of our architecture that I’d like to do. Justin From: Guillaume Quintard Sent: Monday, June 14, 2021 7:54 AM To: Justin Lloyd Cc: varnish-misc@varnish-cache.org Subject

Re: Cookie VMOD keep/filter documentation issue

2021-04-06 Thread Justin Lloyd
filter() and filter_except() with keep() and keep_re() and that the previous functions could take CSV strings. Thanks, Justin From: Dridi Boukelmoune Sent: Tuesday, April 6, 2021 10:29 AM To: Justin Lloyd Cc: varnish-misc@varnish-cache.org Subject: Re: Cookie

Re: Cookie VMOD keep/filter documentation issue

2021-04-06 Thread Justin Lloyd
Forget I asked, that was a dumb question since it's a regex and | can be used. /sigh Justin From: Justin Lloyd Sent: Tuesday, April 6, 2021 10:35 AM To: Dridi Boukelmoune Cc: varnish-misc@varnish-cache.org Subject: Re: Cookie VMOD keep/filter documentation

Cookie VMOD keep/filter documentation issue

2021-04-06 Thread Justin Lloyd
Hi all, I'm confused on whether cookie.keep_re​ and cookie.filter_re​ should work with CSV strings. The documentation at https://varnish-cache.org/docs/trunk/reference/vmod_cookie.html does not explicitly say that those two functions can take a CSV string like the docs for keep​ and filter​

RE: Varnish and AWS ALBs

2021-08-19 Thread Justin Lloyd
. So with a little bit more VCL code (or probably easier once I move to Varnish Enterprise next year), I should be able to handle this. I’ll give it a whirl and see how it goes. Thanks! Justin From: Guillaume Quintard Sent: Thursday, August 19, 2021 2:00 PM To: Carlos Abalde Cc: Justin Lloyd

RE: Varnish and AWS ALBs

2021-08-20 Thread Justin Lloyd
will take some time (higher priority and urgency issues and projects on my plate). I’ll play with regsub() some more to see if I can figure out a temporary approach. Thanks, Justin From: varnish-misc On Behalf Of Justin Lloyd Sent: Thursday, August 19, 2021 2:39 PM To: Guillaume Quintard ; Carlos

RE: Varnish and AWS ALBs

2021-08-20 Thread Justin Lloyd
Hey Carlos, That seems to do the trick, thanks! I’ve always thought I was pretty good with PCRE (used Perl heavily for like 15 years) but for some reason this one was eluding me. I appreciate the help! Justin From: Carlos Abalde Sent: Friday, August 20, 2021 4:12 AM To: Justin Lloyd Cc

Varnish and AWS ALBs

2021-08-19 Thread Justin Lloyd
Hi all, Is anyone else running Varnish behind AWS ALBs? I just encountered an issue today with how I have been using X-Forwarded-For to check against a Varnish ACL in that is more restrictive than the ALB's security group, but I realized the hard way that since X-Forwarded-For can be

RE: Varnish and AWS ALBs

2021-08-19 Thread Justin Lloyd
by the ALB’s SG. I don’t like having two ALBs to manage, but it seems it’s probably the only way to handle this situation. Justin From: Carlos Abalde Sent: Thursday, August 19, 2021 1:35 PM To: Justin Lloyd Cc: varnish-misc@varnish-cache.org Subject: Re: Varnish and AWS ALBs Hi Justin, You cannot

RE: Varnish only resolve the ip on startup

2021-10-04 Thread Justin Lloyd
I’m definitely watching this topic, considering I’m planning on moving to Varnish Enterprise next year and putting a cluster in ECS, if not Fargate, so being able to easily handle dynamic IPs would be extremely helpful. From: varnish-misc On Behalf Of Guillaume Quintard Sent: Monday, October

RE: Query for authorization username

2021-10-26 Thread Justin Lloyd
quot;, "\1")), ":.*$", "" ); Best, Justin From: Guillaume Quintard Sent: Monday, October 25, 2021 2:58 PM To: Justin Lloyd Cc: varnish-misc@varnish-cache.org Subject: Re: Query for authorization

Query for authorization username

2021-10-25 Thread Justin Lloyd
In my dev environment, I have a few users configured to use Basic authorization (configured in the Nginx backend) and I'd like to be able to perform VSL queries based on the auth user. This is what I was able to come up with, but I'm wondering if there is a simpler way that I'm just not seeing.

Creating ACLs in Varnish

2021-07-26 Thread Justin Lloyd
Hi all, I'm wondering if there's a better way to handle defining ACLs in Varnish. Currently I have an AWS ALB fronting a set of web servers hosting several related sites. However, one of the sites (previously two, hence the two examples here) has a more restrictive ACL requirement than the

Centralizing varnish logs

2023-01-10 Thread Justin Lloyd
Hi all, I need to centralize logs of multiple Varnish servers in my web server environments, generally just 4 or 6 servers depending on the environment. I'd like to be able to do this either with Splunk or an Amazon OpenSearch cluster, i.e., a managed ELK stack. However, not having worked with

RE: Purging cached std.fileread() contents

2023-06-15 Thread Justin Lloyd
Simmons mailto:ge...@uplex.de>> wrote: On 6/15/23 18:57, Justin Lloyd wrote: > > The documentation for std.fileread() says it is cached indefinitely, so > how do I get Varnish to re-read the file when it gets updated without > having to restart Varnish? "Cached indefinitely&q

Purging cached std.fileread() contents

2023-06-15 Thread Justin Lloyd
I'm trying to test a simple Varnish setup with no backend to serve a single index.html file. This is for use on a maintenance page web server when the main web site is down, more specifically, behind an AWS ALB with two target groups, one with the main web servers and the other with two