several questions about varnishd..

Dag-Erling Smørgrav des at
Thu Aug 2 10:59:50 CEST 2007

"Monty Ree" <chulmin2 at> writes:
> 1. Does varnish saves hot objects in memory? if then any memory size
> limit?  and if memory is full, that saves in hdd disk?

Varnish stores all objects in a memory-mapped file.  The kernel's VM
system decides what's in memory and what's on disk.

> 2. any object(caching) size limit which varnish can save?  if then,
> any parameter that can be changed?

There is no limit, but Varnish will probably crash if it tries to
cache a file which is larger than the total amount of cache it has.

> 3. If I add or change main config file so often, any recommendation?
> how about killall -HUP varnishd?

The man page explains this.

> 4. If I restart varnishd daemon, all saved caches are deleted and
> initialized?


Dag-Erling Smørgrav
Senior Software Developer
Linpro AS -

More information about the varnish-misc mailing list