Mailing List Archive

several questions about varnishd..
Hello list.

I am a begineer and have several questions about varnish.


1. Does varnish saves hot objects in memory? if then any memory size limit?
and if memory is full, that saves in hdd disk?


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


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


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


Thanks in advance for your help..

_________________________________________________________________
?? ?? ?? ??? ?????? MSN ???? ?????.
http://fortune.msn.co.kr/
several questions about varnishd.. [ In reply to ]
"Monty Ree" <chulmin2 at hotmail.com> 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?

Yes.

DES
--
Dag-Erling Sm?rgrav
Senior Software Developer
Linpro AS - www.linpro.no