RE: Solaris x86 and Squid

From: Jeff Madison <jeff@dont-contact.us>
Date: Thu, 5 Nov 1998 09:40:26 -0700

System: Dual P2 300 with 512 MB of RAM
Drivers: Mylex Raid Controller
Malloc: DLMalloc (--enable-dlmalloc)
OS: Solaris 2.6_x86
Compiler: GCC and GNU Make

I've seen this memory leak in every version of squid since we stated using
it about 3 months ago. I've been complaining about it since then too but no
one have every responded. Because of the massive load I am able to put on
my cache servers I see this leak within 4 hours instead of 2 weeks. After
the system runs out of memory the processor tries to compensate and when
that no longer works your pretty much dead. The curious thing is that after
you kill the squid process the memory is not released. This has led me to
believe that the memory leak lies somewhere else. I had considered the
possibility of the disk sub system or the RAID driver. I spend over a week
on the phone with Sun and they could not see anything, or so they say. I'm
currently investigating the possibility of the leak being in IPFilter.

Jeff Madison
Systems Engineer
(801)924-0900 x 101

-----Original Message-----
From: Nottingham, Mark (Australia)
[mailto:mark_nottingham@exchange.au.ml.com]
Sent: Wednesday, November 04, 1998 8:48 PM
To: 'David Richards'
Cc: 'Squid'
Subject: RE: Solaris x86 and Squid

Yes I am aware of this; I'm talking about endless growth (squid with a
32M cache_mem growing to >256M over the course of two weeks). stats in
cachemgr.cgi seem to support this, if I read them correctly.

> -----Original Message-----
> From: David Richards [mailto:dj.richards@qut.edu.au]
> Sent: Thursday, November 05, 1998 2:45 PM
> To: Nottingham, Mark (Australia)
> Cc: 'Squid'
> Subject: Re: Solaris x86 and Squid
>
>
> Mark,
>
> I use gnumalloc and I see no memory leaks with squid. I am not
> using Solaris nor x86 architecture. When you say "memory
> leak" what do
> you mean?? Because squid will grow in memory up to approx. 3
> times the
> size set in "cache_mem", are you aware of this fact??
>
> Thanks,
>
> -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
> David Richards
> Network Programmer
> Internetworking Software Services, Computing Services
> Queensland University of Technology
> Level 12, 126 Margaret Street
> Brisbane QLD 4001, Australia
> E-mail: dj.richards@qut.edu.au
> Ph: +61 7 3864 4347 Fax: +61 7 3864 5272
> -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
>
> On Thu, 5 Nov 1998, Nottingham, Mark (Australia) wrote:
>
> >
> > Can anyone running Squid 2.x on Solaris x86 please tell me?
> I've talked
> > to one or two people, and everyone is experiencing memory
> leaks to some
> > degree or other.
> >
> > Variables include:
> >
> > * gcc vs. Sun compilers
> > * default malloc vs. dlmalloc
> > * device drivers (RAID)
> > * OS version
> >
> > Hopefully, we can gather enough information to nail down the problem
> > areas.
> >
> > FWIW, I'm running 2.0patch2 on x86 2.6 with patches current as of
> > September, compiled with gcc 2.8.1. I've tried normal and
> dl malloc, and
> > dl seems to leak less, about 5M/day on 100,000 hits/day.
> >
> >
> > Mark Nottingham
> > Internet Project Manager
> > Merrill Lynch - Melbourne, Australia
> >
>
Received on Thu Nov 05 1998 - 09:57:39 MST

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