Search squid archive

RE: Squid Memory usage on Fedora Core 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Daniel H. Latshaw [mailto:dlatshaw@xxxxxxxxxxxxxxxxxxxx]
> Sent: Thursday, October 13, 2005 6:31 AM
> To: squid-users@xxxxxxxxxxxxxxx
> Subject: Re:  Squid Memory usage on Fedora Core 3
> 
> 
> On Thu, 2005-10-13 at 00:06 +0200, Henrik Nordstrom wrote:
> > On Wed, 12 Oct 2005, Daniel Latshaw wrote:
> > 
> > > When i start squid, there is a process owned by root that is using 376mb
> > > ram.  there is also a process owned by squid starting at 377mb ram and
> > > growing to 723mb ram and beyond.
> > 
> > Do you have any very large ACLs defined?
> 
> Yes, that is exactly what the problem is.  I was using the
> sa-blacklist-current-domains list.  the list itself is only 
> ~2mb or so.
> 
> > > Memory usage for squid via mallinfo():
> > > 	Total in use:          969957 KB 100%
> > > Memory accounted for:
> > > 	Total accounted:         7415 KB
> > 
> > This does not look good...
> > 
> It is down to using about 8mb now.
> > 
> > Which exact Squid version is this?
> > 
> i was using the 2.5.stable6 that comes with fedora core 3.  i 
> have since
> removed that and am using 2.5.stable11 from fedora's site.
> 
> when i reinstalled to the newer version i added on item at a time from
> my old squid.conf and restarted squid to see where my problem was.  i
> don't believe it was in the 2.5.6 version, it was my acl.  as i added
> that acl back in, my memory usage jumped back to the 1GB mark.
> 
> Any idea why that particular acl would do that?
> 

My guess would be that you were using url_regex (or dstdom_regex).  The sa-blacklist-current-domains that I found looks to be a listing of domains, which would be more compatible with a dstdomain acl.  You might want to adjust the list so every line starts with a period (.) for subdomain matching.

> Thanks!
> 
> dan
> 
> > Regards
> > Henrik
> > 
> 
> 

Chris


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux