Controlling memory usage

Anders Berg andersb at
Mon Jul 17 22:44:45 CEST 2006

Okay, that made more sense to me.

Thank you for another detailed explanation. Rest assured that  
question number 3, after "how do I start?", "how do I stop?", is "how  
can I allocate memory?". This is good material in the process of  
trying to tell old Squid users how we "use" memory. FAQ material.

Anders Berg

On Jul 17, 2006, at 21:02, Poul-Henning Kamp wrote:

> In message <B06E690C-CA93-4547-AD2A-61246521142D at>, Anders  
> Berg writes
> :
>> The reason Anders N. asks about this is how Squid works today. The
>> squid.conf file leaves you with a option to specify how much RAM you
>> wanna use for Squid.
> And this is right where the trouble starts.
> Squid is written for a machine model that has not existed since
> 1980 when 3BSD was released.
> In that model, a process has some amount of "memory" and either all
> of that "memory" is present in RAM or none of it is.  When RAM grew
> short, an entire process was swapped out (hence the name: "swap out
> one process for another")

More information about the varnish-dev mailing list