Varnish is a high-performance reverse proxy and load-balancer package for Linux/Unix systems.

learn more… | top users | synonyms

6
votes
0answers
77 views

How does Varnish deal with running out of storage?

I am using Varnish 3.0.3 (the latest as of this writing) with more or less the default install, using the following for storage: # # Cache file location ...
0
votes
1answer
21 views

How do I configure varnish for my vhosts

I have a centos 5.x server running Apache+Drupal with 13 vhosts. These vhosts are all Top Level Domains. Munin reports heavy swapping for a few days in a month and I discovered that these are mostly ...
1
vote
2answers
63 views

Ram issues with NGINX, PHP-FPM+APC and Varnish

I'm running a 512MB and i have lot of ram issues. I think is due to my configuration. root@s1:~# free -m total used free shared buffers cached Mem: 1024 ...
0
votes
0answers
24 views

Cache layer for Heroku-hosted mobile-server app

I am developing a mobile app, backed by a server hosted on Heroku. There will be a continual polling of the server by the client, to check for changes in state. To avoid hammering my Heroku servers I ...
0
votes
1answer
27 views

How to enable varnish daemon in Cygwin?

I've installed the varnish packages (3.0.2-1 or 2.1.5-1) in cygwin (for local testing of VCL on Win7 64bit) and want to start varnish listening on port 80 but the varnishd isn't available: $ varnishd ...
0
votes
2answers
51 views

301 re-direct www to non-www on NGINX with Varnish enabled

I'm really hoping someone can help me with this. After a lot of searching I haven't been able to find the solution. I am running my website on NGINX and have Varnish enabled however, when I try to ...
1
vote
0answers
26 views

Normalising vhost name from varnish for statsd

The setup I am collecting statistics from Varnish with Logstash, which is configured to increment statsd counters based on the vhost in the server logs and the result code. I also have carbon ...
0
votes
0answers
29 views

trouble with github behind Varnish caching servers

We are a development team in Europe (Berlin to be precise) that heavily depends on the availability of raw.github.com. Our CI server way to often (sometime in 50% of all cases) reports failed builds ...
1
vote
1answer
41 views

How to log a request to apache access log if it's cached by Varnish

I have a service based on parsing apache access logs, so I need to log there even when Vanish is turned on. No I just simply tell Varnish to do not cache specific urls: if (req.url ~ "(foo|bar)") ...
1
vote
2answers
42 views

Impact on various Linux commands on a Varnish server

I know Varnish use memory mapped technique for caching data in memory, what if I execute the following commands on a machine, are there any penalty on the overall Varnish's performance? e.g. Total ...
1
vote
2answers
60 views

Memory adjustments for magento with php5-fpm , Nginx, APC, Mysql

I am using magento with php5-fpm , Nginx, APC, and Varnish. When there is varnish hit, the load time is very good. But on varnish miss, the site takes toomuch time to load. I have seen through htop ...
0
votes
1answer
37 views

Varnish Cache and IPB (Invision Power Board) - admin accounts do not stay logged in

I have a cPanel Server running Varnish Cache - I use the plugin from unixy.net. I have a website on there that uses IPB and when Varnish is installed admin users will not stay logged in. The first ...
-1
votes
1answer
28 views

varnish syslog C fails [closed]

I'm trying to follow: VCLExampleSyslog – Varnish, after I put it in (copy & paste) varnish won't even start, here is where it fails: # varnishd -d -f /etc/varnish/default.vcl Message from ...
0
votes
1answer
45 views

Ignore certain URLs on Varnish Cache

I'd like that Varnish completely ignored certain URLs on my websites. I.e., www.site1.com/fileuploader and www.site2.com/fileuploader I have 4 websites on the same VCL, and all those websites are ...
0
votes
1answer
38 views

Varnish with loadbalancer

Varnish has been applauded for various reasons. So, I am trying to setup varnish in-front of loadbalancer, I am now able to setup varnish itself and which deals with all incoming traffic and sends ...
1
vote
1answer
52 views

Logging varnishlog output to a file with awk in daemon mode

I would like to daemonize the answer in this topic http://serverfault.com/a/480871/94127. Since varnishlog has daemon mode, I tried to use -D option as below. But the timestamps are not appearing. ...
0
votes
2answers
50 views

Varnish is slow to start with a large ACL

I've got a varnish configuration file which looks like this: backend web1 { .host = "1.2.3.1" ; ... } backend web2 { .host = "1.2.3.2" ; ... } backend web3 { .host = "1.2.3.3" ; ... } backend ...
0
votes
1answer
54 views

varnish not caching right

I'm trying to configure varnish (following by: default_varnish3.vcl_.txt) [alexus@wcmisdlin02 ~]$ rpm -q varnish varnish-3.0.3-1.el5.centos.x86_64 [alexus@wcmisdlin02 ~]$ I'm making a very first ...
0
votes
2answers
83 views

HAProxy URI balancing isn't very balanced

I'm attempting to use HAProxy 1.4.22 with URI balancing and hash-type consistent to load balance between 3 varnish cache backends. My understanding is that this will never accomplish a perfect balance ...
0
votes
1answer
29 views

How to make aggregate graphs of varnish in munin

I'm trying to sum the graphs of varnish in munin. I've tried with all the possibilities than i could but i don't manage to succeed. [group;Agregadas] update no varnish.graph_title Hit ...
0
votes
0answers
20 views

How to flush varnishlog buffer to output?

I have a varnishlog process running in background like this: nohup varnishlog -c -m TxStatus:503 >/root/varnishlog.txt & But because of buffering, I cannot fully see last request and ...
0
votes
0answers
19 views

varnish caching [closed]

I am willing to use varnish as caching and my goal is to put varnish on the top and point DNS to varnish and if it has cached images and js or static pages so it should not even reach webboxes but ...
0
votes
1answer
37 views

Squid and Varnish only allow one request to same at a time

I am comparing Squid, Varnish and Ngix. Does Squid and Varnish have this Ngix feature? When proxy_cache_lock is enabled, only one request at a time will be allowed to populate a new cache element ...
0
votes
1answer
32 views

isup.me reported site down but I still can access website like normal

I have nginx as backend running WordPress (with w3tc cache plugin installed), varnish as reserve caching proxy, and cloudflare set up. Sometimes, I see isup.me reported my website is down but in fact ...
1
vote
1answer
55 views

Using an existing varnish service for another server

In this case, having a server that runs a couple of websites with a varnish service configured as well. Now, on another server I run 2 wp multisites in a LAMP environment + W3TC Cache + APC, and now ...
0
votes
0answers
41 views

How to troubleshoot this server with nginx?

Since last week one of my server is going down every few hours. By going down I mean going to the webpage gives me this error: Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the ...
2
votes
0answers
50 views

Varnish configure a backend to have multiple probes?

Is it possible in Varnish 3 to configure a backend to have multiple probes? I have multiple varnish servers and multiple backend servers running Drupal. I've configured a basic 1 second interval ...
0
votes
1answer
72 views

Port number being added to WordPress admin after Varnish install

I added Varnish in front of nginx. When I try to login to WordPress, I go to domain.com/wp-admin but I'm now redirected to domain.com:8080/wp-admin. I can manually remove the port and the admin side ...
0
votes
3answers
55 views

Force WWW with Varnish and nginx

I'm trying to figure out how to force WWW in varnish for only one domain. I saw this answer to remove WWW but I don't know how to translate it to force it. Edit: To clarify, my nginx config was ...
0
votes
1answer
53 views

How to set Varnish so that it doesn't cache a specific URL with a query string?

Server setup: Ubuntu 12.10, Varnish 3.0.2, Nginx 1.3.14, with a WordPress 3.5.1 install. We are using the "Random Redirect" plugin which shows a random blog post at the URL http://example.com/?random ...
0
votes
1answer
65 views

Multiple sites with Varnish and nginx on the same server

UPDATE: I found a typo in my config. I forgot one of the ports to change over. The issue is resolved. Originally I had a server with nginx running multiple websites. I added Varnish in front to be on ...
2
votes
2answers
50 views

Varnish - Cookie

I have the following situation: On my site, javascript sets a cookie that contains relevant information for generating the markup. I therefore want Varnish to cache each page separately for each ...
0
votes
0answers
39 views

Varnish fails to start. Running VCC-compiler failed without a compiler error

EDIT: System ran out of disk space so the compiler couldnt create the files. The output of varnishd doesnt tell you this. Always check your disk quota if you get weird errors with no obvious reason ...
2
votes
1answer
67 views

Varnish load-balance with per-server request rewriting

I'm trying to load-balance a 3rd-party web application with Varnish, and this 3rd-party application requires the 'real' server name (it appears to connect to this server by name in the background (and ...
0
votes
1answer
98 views

mod_rpaf not recognising RPAFheader setting

After installing mod_rpaf, I set my config file (/etc/apache2/mods-available/rpaf.conf) as follows: <IfModule mod_rpaf.c> RPAFenable On RPAFsethostname On RPAFproxy_ips 127.0.0.1 ...
1
vote
1answer
73 views

nginx, apache http authentication

I have an nginx reverse proxy server which feeds into a varnish cache with an apache backend. The php is running as a fastcgi process started from apache. I was attempting to get some php software ...
0
votes
0answers
55 views

Varnish: Exclude section of page

Is there any way to exclude some webpage parts from cache? For example, I have Recent Additions block on my homepage which gets refreshed after every 15mins. I know there is something like ESI ...
0
votes
1answer
183 views

Error 503 Service Unavailable Varnish

So I setup a new cloud based instance with Ubuntu 12.04, with nginx, php5-fpm and varnish. Before I installed and configured Varnish, the website worked fine, virtual hosts worked. After setting up ...
0
votes
0answers
25 views

Visitor tracking information while using varnish

I am looking to use varnish to help keep load of my web server. However I have a little problem. The web site uses some custom tracking info which takes information like the IP, Referrer, campaign ...
1
vote
1answer
78 views

does varnish config include statement support wildcards?

After googling and briefly browsing varnish docs, I could not find a reference to this. Can I do for example the following in varnish vcl? include sites-enabled/*.vcl
1
vote
1answer
149 views

truncated headers from varnish configuration file

I need help with Varnish, I have a varnish configuration file as default.vcl. I can see from the output of varnishstat that hit ratio is quite high. I've also checked varnishtop -i txurl to see ...
1
vote
1answer
89 views

How can I log timestamps with Varnish health probes?

I'm using Varnish 3.0.3 on RHEL 6 as a caching load balancer in front of several Apache web servers and want to keep a log of when Varnish sees the back-ends change from healthy to sick and back ...
1
vote
1answer
73 views

Reliably test ColdFusion server health

The Background We're running a Varnish cache server in front of a CF/Apache2 backend server. The varnish box runs a healthcheck probe every two seconds as follows: probe healthcheck { .url = ...
1
vote
3answers
118 views

nginx + php-fpm + varnish + ssl

I have a social networking site and because of that we want to run ssl all the time. does this defeat the purpose of using any type of cache system for even static content since everything will be ...
0
votes
0answers
25 views

MediaWiki seems to purge Varnish too often

I'm using MediaWiki in a setup with Nginx and Varnish. I'm having some difficulties getting it set up properly. When I use $wgSquidServers to enable the Varnish server, the loading time of the pages ...
0
votes
2answers
82 views

Varnish not passing user IP correctly to MediaWiki

I'm running a setup with Nginx, FastCGI, APC, Memcache and Varnish to host a MediaWiki installation. I'm having some issues with recent changes showing up as coming from 127.0.0.1 in the case of ...
0
votes
1answer
99 views

varnish and SSL

Can you use varnish with SSL? What I currently have. Can I get SSL in here? backend default { .host = "127.0.0.1"; .port = "8080"; } # # Below is a commented-out copy of the default VCL logic. ...
1
vote
1answer
177 views

Setup a shared Varnish server

Having set up and configured Varnish Cache to handle caching for a single site, I'm looking into expanding the service to cover multiple sites running across multiple webservers, each in turn running ...
0
votes
0answers
101 views

Varnish - Url (query string) rewrite [closed]

I'm having problem rewriting the request from varnish to query the backend. Here is what varnish receive ==> ...
0
votes
1answer
179 views

Varnish not showing custom headers

In my Varnish 3 configuration (default.vcl) I configured the following to pass along information via the response headers: sub vcl_deliver { if (obj.hits > 0) { set resp.http.X-Cache = ...

1 2 3 4 5 10