Re: [SQU] Incredibly slow httpd accel

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 25 Aug 2000 10:02:52 +0200

Brian wrote:

> Memory usage for squid via mallinfo():
> Total in use: 51728 KB 30%
> Total free: 122523 KB 70%
> Memory accounted for:
> Total accounted: 48374 KB
>
> Memory pools are limited to 20MB and, looking at the Memory Utilization, that's
> all it has for currently idle. It simply isn't releasing any memory.

Well.. dlmalloc (and Linux glibc which is based on dlmalloc) only
releases free memory to the OS from the top. So if an application does
something like
   allocate some memory
   allocate some more memory
   free the first allocated memory
then this memory is not releases back to the OS until the application
also frees the second allocated memory area.

The memory might eventually get released. Until then it is automatically
reused for future memory allocations.

Probably no need to worry, unless you are extremely short on memory
which is not good idea if your intent is to accelerate things..

--
Henrik Nordstrom
Squid Hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Aug 25 2000 - 02:05:07 MDT

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