[Bug 215998] Re: possible memory leak in Hardy's squid

Dustin Kirkland kirkland at canonical.com
Mon Apr 14 18:26:36 BST 2008


Discussed at length with Matthew on IRC.  Additionally, I created a
Hardy-i386 virtual machine with 512MB of memory and was not able to
reproduce the crashes or even memory leaks.

In summary, it's perfectly normal for all of memory to end up in the
"cached" column of "free", as cached memory is essentially free memory,
as the Linux kernel will quickly swap data out of cache as necessary
[1].

Furthermore, the perceived "crashes" of the Hardy system may well have
been the effects of the machine "swapping itself to death".  My testing
of Squid did not reveal any memory leaks.  And Matthew seems to have
chased down a problem in some other code:

<MatthewMetzger> a mysql query in Koha (the library software) that
contains an "and" has the url formated as containing "+and+". This
seemed to cause a loop.

Thanks,
:-Dustin


[1] http://gentoo-wiki.com/FAQ_Linux_Memory_Management

** Changed in: squid (Ubuntu)
       Status: Incomplete => Invalid

-- 
possible memory leak in Hardy's squid
https://bugs.launchpad.net/bugs/215998
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in ubuntu.



More information about the Ubuntu-server-bugs mailing list