Re: [squid-users] tracking down leaks

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 9 Dec 2003 21:17:20 +0100 (CET)

On Tue, 9 Dec 2003, josh wrote:

> I have noticed that my system seems to be using more and more memory
> over time as reported by top and free while the number of applications
> running stays the same.

By which column in the free output?

> Then it crashes eventually.

This is not normal.

> Stopping squid doesn't seem to result in the memory numbers going back
> down.

This is to some extent normal, but depends on which column of the free
output you are reading. Any UNIX like system SHOULD run with no more than
around 4-10MB of "free" memory. The rest is either used by applications or
by filesystem buffer/cache.

What you describe is also a very clear sign that any memory related
problems you may have is not due to Squid. If it was Squid who leaked
memory then this memory MUST by definition or a UNIX process be freed when
you stop Squid. If the memory is not freed then it is not Squid who is
using this memory.

Regards
Henrik
Received on Tue Dec 09 2003 - 13:17:26 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:08 MST