Re: [squid-users] Re: cache_mem question

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 08 May 2003 12:04:44 +0200

tor 2003-05-08 klockan 08.24 skrev Rodsak Promrattanakul:

> When Squid recieved Object which uncacheable , Squid 'll forward it to the
> client.
> While the object is forwarded parts may temporary be in cache_mem.

Yes.

> -Then the Object was removed or it still in memory until Squid need more
> memory usage ?

Immediately removed.

> If Squid was shutdown ,
> -What happend about the Object in memory ?

Lost.

> -And the index for indicate Object ?

The index of objects cached on disk is always written to the disk as a
transaction log. On shutdown Squid also writes out a clean copy of this
index. (swap.state).

swap.state only contains information about the objects saved in that
cache_dir. Objects only kept in memory is only remembered in memory.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
Please consult the Squid FAQ and other available documentation before
asking Squid questions, and use the squid-users mailing-list when no
answer can be found. Private support questions is only answered
for a fee or as part of a commercial Squid support contract.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Thu May 08 2003 - 04:04:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:23 MST