Re: [squid-users] Dub about how to work squid ...

From: Amos Jeffries <squid3@dont-contact.us>
Date: Fri, 02 May 2008 23:57:13 +1200

Ramiro Sabastta wrote:
> Hi !!!
>
> I installed squid on a Debian box, with 1Gb of RAM, 160 Gb of disk
> and AMD Optreon Dual Core, in transparent mode.
> I configured a cache of 100Gb on disk with aufs.
> I was making some testing in my private network, and I couldn't
> understand how the squid worked.
>
> I have this configuration:
>
> maximum_object_size 51200000 bytes
> minimum_object_size 0 bytes
> maximum_object_size_in_memory 204800 bytess
>
> When I send a HTTP requeriment for an object, for example of 1Kb, the
> object is saved by the squid "IN MEMORY" and the following
> requeriments from the same object, the squid answers with a "HIT"
> (This is ok)
> For the other side, when I send a request for an object bigger than
> 200Kb, it always resolves in "DIRECT" way and the following
> requeriments from the same object, the squid answer with a "MISS". The
> squid doesn't save this object on the disk cache,
>
> It's ok? May be I have a configuration problem.
>
> Any Help?

Which version of squid?

Is the large object perhapse also not allowed storage in the disk cache?

Most recent squid have memory-only as the default caching option now if
none is configured. So maximum_object_size_in_memory in one of those
setups would mean maximum cachable object size.

Amos

-- 
Please use Squid 2.6.STABLE20 or 3.0.STABLE5
Received on Fri May 02 2008 - 11:56:32 MDT

This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 12:00:02 MDT