Questions tagged [varnish-4]

180 questions
0
votes
1 answer

why have so many pass in varnish?

I have a varnish cache (version 4) with a backend that sometimes turns "slow". I use the health check to force varnish serve stale content from the cache when this backend is "slow" to not saturate it. So mi backend is defined: backend api { …
0
votes
0 answers

Intermittent 503 errors in varnish cache server due to backend fetch failure

Intermittent 503 errors in varnish cache server due to backend fetch failure I am getting 503 backend fetch failed errors intermittently after many successful requests. They keep on occuring at random times. this is the varnish log sample for…
0
votes
1 answer

Why can't Varnish Cache cache .woff files?

I have a .woff file that Varnish is throwing a hit-for-pass on regardless of my VCL configuration. Is there something about this file type that prevents it from being cached? I'm using Varnish 4.1.3, Ubuntu 14.04.2 LTS, and Apache 2.4.7.
Darrell Brogdon
  • 6,843
  • 9
  • 47
  • 62
0
votes
1 answer

Is there a way to force Varnish to read the Cache-Control header on 403 responses?

It looks like from the code, that since a 403 is not a whitelisted status, the Cache-Control header is ignored: switch (http_GetStatus(hp)) { default: expp->ttl =…
0
votes
1 answer

url excluded by still returning via varnish

I have excluded the url like this from my varnish cache if (req.url ~ "^/folder_name/") { return (pass); } but still when i access curl -I http://ip/folder_name i see the below response HTTP/1.1 301 Moved Permanently Date: Mon, 04 Jul 2016…
opensource-developer
  • 2,826
  • 4
  • 38
  • 88
0
votes
1 answer

Varnish is not serving content from cache on first hit after every 2 minutes

I am stucked now. Searched alot but never find answer. I am using Apache + Nginx (reverse proxy) with Varnish v4 When i am trying to test varnish at isvarnishworking.com than on very first time i am getting (Yes! Sort of!) And when i referesh the…
zubair
  • 33
  • 1
  • 5
0
votes
2 answers

How Install beta release of Varnish Cache (varnish-4.1.3-beta1)

What I need to do to install varnish-4.1.3-beta1 in a CentOS 7? Since I don't find the rpm in the repo.
0
votes
1 answer

Varnish 503 after 200 from backend

I have a Varnish 4.0.3 server on Centos 7.2. Varnish has three backends configured. I am receiving intermittent 503's from Varnish. I have pulled a tcpdump during a 503 event, and I saw: Consumer makes request to Varnish Varnish opens socket to…
Stan
  • 18
  • 2
  • 1
0
votes
1 answer

Collecting varnish stats at the Url Level

We are using varnish to cache different urls like:- /discovery/v1/search /discovery/v1/suggest /discovery/v1/recommend /orders/ordersearch Right now we were able to get varnish stats like cache_hit, cache_miss for the overall varnish. Is there a…
tuk
  • 5,941
  • 14
  • 79
  • 162
0
votes
3 answers

varnish round robin director not picking backends

I have varnish setup with 2 backend servers with a round-robin director. The 2 backends are showing up in varnishstat and varnishadm as healthy. varnishadm output: Backend name Admin Probe boot.app1 probe…
Stephen Mahood
  • 101
  • 1
  • 8
0
votes
1 answer

Varnish Cache unterminated string error

I've been trying to setup varnish cache on my server for a good hour now but I can't seem to figure out why I'm getting this error: $ sudo varnishd -C -f /etc/default/varnish Error: Message from VCC-compiler: Unterminated string…
0
votes
1 answer

Varnish (v-4.1.2) HTTP Live Streaming got Halt

Few days back i have deployed Varnish 4.1.2 on Debian 8.4 64bit...Service configuration is OK but while i am starting Streaming by it, the streaming is freezes for 60s and then again automatically started running for next 2 or 3 minutes and again…
0
votes
2 answers

Inline C not working in Varnish-4.0.3

I am working with varnish-4.0.3 and vcc_allow_inline_c is off by default. What I have done is: varnishadm 200 ----------------------------- Varnish Cache CLI…
Ahsanul Haque
  • 10,676
  • 4
  • 41
  • 57
0
votes
2 answers

How to use vmods when installing varnish from rpm?

I am trying for a while to use vmods with varnish. But, it seems, I need to build varnish from source if I want to integrate a vmod, for example, statsd. But, I have already running varnish successfully by installing it via rpm on my centos7…
Ahsanul Haque
  • 10,676
  • 4
  • 41
  • 57
0
votes
1 answer

Varnish 4: High cache-hit but high backend traffic

When running Varnish 4.0.3 and looking at varnishstat, it reports a cache-hit ratio of about 0.9 - 0.95 which I interpret as a 90-95% cache-hit ratio (incorrect?). I have a very low hit-pass count, so I cannot see that there is a lot of traffic that…
1 2 3
11
12