Too much file space consumed by varnish in /var/lib/varnish/

Per Buer perbu at varnish-software.com
Fri Aug 5 10:48:55 CEST 2011


Hi Ruben.

2011/8/5 Rubén Ortiz <ruben.ortiz at rsystem.com>

> Hello to all
>


> One of our customers warning us that after a reboot of varnishd (after some
> change in apache config) , varnish did not start. I checked and found the
> problem, hard disk full. I did "df -h" and "du" to find where was the
> problem and I founded in
>
> /var/lib/varnish/hostname/
>
> there were many files of varnish, because I have a setup up to 8 GB of
> hard disk. But the space consumed by cache was higher than I specified in
> /etc/sysconfig/varnish, about 18 GB, and surprisingly there were a lot of
> files very old (1 month)


> so, I suspect this behavior is because the customer make some changes in
> VCL
>
> I'm right?
>

No, these are options specified at startup. Delete the files, specify the
file to use ( -s file,8G,/var/lib/varnish/storage.tmp) and restart. Varnish
will then use the file specified
.

-- 
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110805/57e5c275/attachment-0003.html>


More information about the varnish-misc mailing list