One of the downsides of valgrind - it doesn't free any memory at runtime (to check for double-free()s). I've not seen tools where one can switch this off yet (but I've only used valgrind on Linux and purify on Solaris machines).A few people (out of the thousands who run ClamAV) have reported "memoryI tried to help out with valgrind as you suggested - but within 10 mins it
leaks" in stable versions of clamd.
However, none of those people have submitted a report from a memory
debugging tool to show where the leak occurs on their systems, despite
being asked to by the development team. None of the development team
have seen such a leak.
took 1.5Gb of RAM on my workstation (I wasn't going to put it up on
production now was I? :-) and - well - I turned it off. I really don't have
the equipment to handle running 1.5Gb debugging processes...From the different posts here I bet there are library issues in BSD, as that OS is number one when it comes to leakage complains. I don't know current Solaris releases, but Sol7 actually was a PITA.Could be: but I've seen it on Rh8 and Fedora-Core2 - quite different LinuxUntil one of the people complaining produces a useful report, nothing can be done. It is just as likely a leak in a system library than in clamd.
systems as far as libraries/etc go.
With Linux being my development platform, I see no runtime leaks there.I hope someone else can help out - there is a problem that needs solvingAll of the team members are aware of that. But as trog already wrote: Until someone comes up with either a mail that triggers the leak or some mem debugger's output, we're stuck.
there.
Running valgrind on a production server is a no-no, as you already observed.
For quite a while (6 weeks) I collected each and every mail on one of my MXes. I checked them "offline" for leaks using a shell wrapper, which checked clams memory usage between each feeded mail, but found really nothing.
I'll start that grabber again once I upgraded disk space on another MX here.
Thomas
hi,
running NetBSD 2.0 BETA (as of 20040909) i have not the smallest problem (clamd w/amavisd-new, SA, dspam, and razor) regarding to 'extraordinary memory usage'. neither on a i386 MP system (uptime approx. 30 days, 50k messages/day) nor on my private mail-gw (Sun Ultra 1, same OS).
-- mit vorzueglichster Hochachtung/best regards,
Timo Schoeler
//macfinity -- finest IT services | Triftstrasse 39 | 13353 Berlin | Germany
Fon ++49 30 25 20 30 20 | Fax ++49 30 25 20 30 19
PGP data http://www.macfinity.net/~tis/contact/PGPPKB_timo.schoeler.txt
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users