Re: Memory leak in 1.0.1 / FreeBSD 2.1R & BSDI

From: Stefan Arentz <[email protected]>
Date: Sun, 14 Jul 1996 23:59:53 +0200

Eric,

Danny ter Haar send me the following private message:

>From: Danny ter Haar <dth@cistron.nl>
>Subject: Re: Memory leak in 1.0.1 / FreeBSD 2.1R
>
>An other provider running BSD and squid had the same problem:
>After compiling with the linux malloc everything worked like a charm
>
>Danny

So i installed libdlmalloc-2.5 from the FreeBSD packages collection. I'm now
running a squid binary linked with that library. I'll post the results on
tuesday I think.

Regards,
 - Stefan

Your message dated: Sun, 14 Jul 1996 23:24:41 +0200
>At 22:05 14/07/1996 +0200, Stefan Arentz wrote:
>
>>> top -b | grep squid
>>> 23351 root 2 0 13M 6365K sleep 9:40 0.00% 0.00% squid
>>>
>>> and Total Accounted was 10092KB.
>>>
>>> This is on a squid-1.0.1 system running on FreeBSD-2.1-stable.
>>>
>>> Personally I wouldn't be worried about the discrepencies in your
>>> figures until they affect your system in some manor.
>>
>>If it's broken then it should be fixed imho. I'm running squid on a web
>>server and cant afford to let squid crash this machine... Four days ago
>>squid was using 42MB of memory while there was just 20MB cached on disk..
>>
>>I'll track this down. It looks like a memory leak somewhere...
>>
>
>Since the Jul 8th, 1996:
>I run squid 1.0.1 on a 128 MB central server running BSDI.
>Process squid grows steadily in memory (we have over 17.000 users) until it
>reaches Datasize memory limit then "crashes" (xxalloc can't alloc 4096 bytes
>of memory).
>
>I run squid 1.0.1 on a neighbor server handling requests, from the above
>server, that are related to US sites: So far, so good.
>
>Since the "squid" source has been passed through "purify", I would think the
>memory leak is real but doesn't show up until some error condition occurs.
>
>Most errors reported in "cache.log" are related to the following source
>lines:
>
>* comm.c : 372
>* comm.c : 1194
>
>ftpget.c: 652
>
>ipc.c : 1158
>ipc.c : 1375
>* ipc.c : 1887
>ipc.c : 1862
>
>* outlines the most common errors.
>
>Hope it will help. I'll try to spend some time around those lines.
>Best regards,
>Eric Salome <admin@worldnet.net>
>
>
Received on Sun Jul 14 1996 - 15:05:18 MDT

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