Re: Unused Memory?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 02 Jun 2000 01:11:00 +0200

Patrik Schindler wrote:

> Total in use: 17250 KB 9%
> Total free: 172195 KB 91%
>
> This is after a run time of 3 Days. memory_pools is set
> to off. Why doesn't squid free the memory (which it marks
> as free internally) to the system?

Squid actually frees the memory. It is the system who does not return
them to the global free page pool. The mallinfo() call is a system
library call for finding out some facts about memory allocation..

A better question is why Squid has used that much memory and then freed
it. You are probably bitten by one of the request memory hog errors I
found some months ago.. (patches available from
http://squid.sourceforge.net/hno/patch-2.3.html)

--
Henrik Nordstrom
Squid hacker
Received on Thu Jun 01 2000 - 17:44:06 MDT

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