varnish stopps responding with no reason

Sascha Kain s.kain at eraffe-media.de
Tue Mar 31 13:28:41 CEST 2009


Hi,

im was running squid3 for a while now, but now i tested varnish, to 
cache my cdn.

Following:
proxycache1:/var# varnishd -V
varnishd (varnish-2.0.3)

The Server is Debian Etch 4.0 incl. all official updates.
It has 24GB of RAM with 64Bit CPU.

I compiled and installed varnish with no errors. And it is running on 
one of my 2 Servers like a charm!
load of the server + delivery of my static files is great.

But i have a problem on the other machine, its exact the same.

I start varnishd like this:
varnishd -a :80 -b 89.xxx.xxx.xxx:80 -s malloc,15360M
storage_malloc: max size 15360 MB.
Using old SHMFILE

Im not using a config yet, since i only have one backendserver for 
static files.

In Log i see:
Mar 31 12:56:34 proxycache1 varnishd[4608]: child (4609) Started
Mar 31 12:56:34 proxycache1 varnishd[4608]: Child (4609) said Closed 
fds: 3 7 8 10 11
Mar 31 12:56:34 proxycache1 varnishd[4608]: Child (4609) said Child starts
Mar 31 12:56:34 proxycache1 varnishd[4608]: Child (4609) said Ready

Then i change my application-config to use the 2nd varnishd as proxy two 
(actually have an array of ips for my CDN).
All went well, it delivers fast.
After a few minutes it stops responding on Port 80, localhost + ethXips 
not working but Varnishd still running.
telnet give me timeout.

ps auxf:
root      4608  0.0  0.0  98196   944 ?        Ss   12:56   0:00 
varnishd -a :80 -b 8xx.xxx.xxx:80 -s malloc,15360M
nobody    4609  0.2  0.4 398384 114996 ?       Sl   12:56   0:03  \_ 
varnishd -a :8xx.xxx.xxx:80 -s malloc,15360M

I switch all traffic over to the other varnishd and its running smooth 
again...
I activate squid on the other server, and all works smooth again.

any ideas?

regards

-- 
Sascha Kain
IT / Administration
eraffe media GmbH & Co. KG Marketing - Consulting - Software
Schönfeldstr. 17 - 83022 Rosenheim

Fon: + 49 (0)8031 - 941 41 -46
Fax: + 49 (0)8031 - 941 41 -59
E-Mail: s.kain at eraffe-media.de
www.eraffe-media.de - www.eraffe.de

eraffe media GmbH & Co. KG, Sitz: Rosenheim,
Registergericht: AG Traunstein HR A Nr. 9104,
St-Nr. 156/157/58806, FA Rosenheim,
USt.-ID: DE250117972

Persönlich haftende Gesellschafterin:
eraffe media Verwaltungs-GmbH, Sitz: Rosenheim,
Registergericht: AG Traunstein HR B 16956
St-Nr. 156/116/90247, FA Rosenheim

Geschäftsführer: Maximilian Kuss, Oliver Döser




More information about the varnish-misc mailing list