Re: Proxy of large files

From: Oskar Pearson <oskar@dont-contact.us>
Date: Tue, 21 Jan 1997 08:43:08 +0200 (GMT)

Richard Roderick wrote:
>
> Setting maximum_object_size to X will prevent squid from keeping a copy of
> files larger than X. Many of us set X to a smaller number because squid
> keeps a copy of it in memory while it downloads and tends to lead to out of
> memory problems.
hmm - actually this won't help you. ALL objects, whether they are cached or
not are stored in memory while they are being downloaded.

> So. I would like to see a new setting: maximum_diskobject_size
What would actually help is if you have a "max_mem_object_size". When the
object reaches this size, the process that controls the object opens a
temporary file and puts all further downloaded info in there.

When the time comes to decide if it is to be put in the cache or not, it will
then move it to the correct place in the directory system.

This seems to be do-able...

        Oskar

=============================================
'experience made art, but inexperience luck.'
=============================================
Received on Mon Jan 20 1997 - 22:50:59 MST

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