[Pkg-clamav-devel] Bug#420391: Bug#420391: clamav: addendum on 420391 (memory leak)

Stephen Gran sgran at debian.org
Sat Dec 13 19:31:27 UTC 2008


This one time, at band camp, Julien Tayon <pred at ti0n.net> said:
> clamav can climb from 1002MB (starting) up to all the available memory. 
> 
> My server dont crash anymore since I restart clamav every  hours. 
> 
> Looks like clamav-daemon is suffering a major memory leak under debian 
> (I use it on windows too V0.94.1, and it does not have this problem and
> consumes only 20Mb). 

As that follow up makes obvious, it's the default glibc allocator (or
clamd's use of it, depending on your perspective) that's at issue.
Upstream has a mostly working custom allocator pool, which should
seriously help this issue when it comes out in a stable release.

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20081213/90628ece/attachment.pgp 


More information about the Pkg-clamav-devel mailing list