2
votes
1answer
117 views

Varnish + Pound on Apache 503 Errors

I'm getting a lot of seemingly random 503 Service Unavailable errors on my Varnish + Pound setup on Apache. I have no idea where to start or what the problem is. I've searched the web a ton and all ...
0
votes
0answers
89 views

Ubuntu with apache2 virtual hosts -> Tomcat (JkMount worker1) -> Varnish

I am a newbie with a Ubuntu server serving a couple of test-sites. My setup is: 1) apache2 hosting a couple of wordpress-sites configured using virtual hosts 2) tomcat hosting a second site, ...
0
votes
0answers
45 views

Server intrusion - MySQL row altered

I have an AWS EC2 and an RDS instance running MySQL. The web app is Magento. We're facing an issue where the attacker has changed a row in the database - this is the PayPal seller's email address. ...
1
vote
3answers
76 views

Varnish Cache: How does Varnish play with other caching systems?

I'm considering installing Varnish cache in front of my forum platform to speed it up even further. It already runs Percona MySQL DB, PHP 5.5.8 (which has Opcode caching built in, and running) and ...
0
votes
1answer
179 views

Apache / Nginx / Varnish - GZIP does not work on css, js

My current setup is as following: Apache -> Nginx -> Varnish running on Ubuntu apache2.conf: h**p://pastebin.com/A3wehAbe .htaccess: h**p://pastebin.com/Yre4hdSy (edited to allow deflate) ...
0
votes
1answer
155 views

“Syntax error at 'input'” when restarting Varnish; something wrong with default.vcl

Here's the default.vcl, varnish configuration file, that I've built after lots of reading and referring: backend default { .host = "127.0.0.1"; .port = "8080"; } acl purge { "localhost"; } # ...
0
votes
1answer
40 views

Domain Not Being Served by Nginx

I have a 13.04 Ubuntu server with two associated ip addresses. Let's say for example the IPs are 123.456.789.111 and 123.456.789.222 and the server has two domains let's say example1.com and ...
0
votes
4answers
1k views

connections on port 80 suddenly refused / server not responding

my dedicated server stopped responding to requests on port 80 today out of sudden, i havent touched anything in more than a month. its ubuntu 10, varnish + nginx + php-fpm, only 1 website. load is ...
1
vote
2answers
79 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 ...
0
votes
1answer
345 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
610 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 ...
1
vote
1answer
287 views

Why is Varnish not caching my index page properly?

I have a Varnish set up in front of Apache 2 on Ubuntu 11.10. I'm using this VCL file: backend default { .host = "127.0.0.1"; .port = "8080"; } sub vcl_recv { if (req.url ~ "^/web") { ...
0
votes
3answers
518 views

Unable to use vmod std in Varnish 3.0.0 under Ubuntu 11.10

I want to import std; and do some std.syslog. However, when I restart varnish, the VCC compiler fails: $ sudo service varnish restart * Stopping HTTP accelerator varnishd ...
2
votes
2answers
437 views

Using nginx / varnish for SSL and Non-SSL pages

Disclaimer: I have posted this on Stackoverflow as well as I thought it may have fit better there. The link to the question is below if someone would like to answer there. -- I have the following: ...
7
votes
2answers
2k views

How to install a Varnish module on Ubuntu

I want to install an additional module for Varnish Cache, the Shield module. How can I do that? I installed Varnish 3.0 from the Ubuntu repositories. How do I get the Varnish source which the module ...
3
votes
2answers
931 views

Varnish client.ip says 127.0.0.1

So I have a setup like Nginx -> varnish -> apache2 If I get a request with a static file it is sent through nginx to varnish and back to nginx again since its a lot faster than letting apache2 server ...
0
votes
1answer
150 views

SSL with virtual hosts

I've 'inherited' a server setup which i don't quite understand. The server is an ubuntu box with a number of virtual hosts. I've checked out the config for each virtual host and there's no mention ...
0
votes
1answer
983 views

Varnish + Plesk : vhost broken

I have an e-commerce site with 300,000 products and 20,000 categories. It is slow and currently in production. I decided to install Varnish to speed up. The trouble is that during installation, I got ...
2
votes
4answers
413 views

Trying to understand how varnish fits into the picture

Currently I am setting up HA proxy to route requests to my application servers. My application servers will be running nginx with phusion passenger. From what I understand, varnish only caches pages ...
0
votes
1answer
281 views

Multiple chroots in ubuntu for PHP/MySQL hosting

We have a server, Core i7, 24GB RAM we run some of our own applications on. I want to offer some clients PHP/MySQL hosting on that server. Is it feaseable and possible to create a chroot for each ...
1
vote
3answers
1k views

varnish demon error: libvarnish.so.1 not found

In order to try out varnish for an upcoming project I installed it on an ubuntu server using this tutorial: http://varnish-cache.org/wiki/InstallationOnUbuntuDapper The build process worked without ...