varnish 2.0.1 truncates pre-created cache file?

Tollef Fog Heen tfheen at linpro.no
Tue Oct 21 08:27:18 CEST 2008


]] Sascha Ottolski 

| bug or feature? With the new version, my cache file gets shrunk. I made 
| it with dd with a size of ~259 GB, but after starting varnishd, only 
| about 119 GB are left. I don't give a size parameter when starting, as 
| in
| 
|     -s file,/var/cache/varnish/store.bin
| 
| which worked as expected with older releases.

I would guess at you running into us using 50% of the available space on
the file system by default.  If we don't use the existing size, I'd
argue it's a bug, so please file one.

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73



More information about the varnish-misc mailing list