> > Would you call memory usage of 128MB leak?
> > Would you call clamd memory usage of 3GB leak?
> Neither. I would call losing reference to allocated memory a memory
> leak.

 Ok, but just two things:

 The clam conf is set to limit the amount of memory that should be
 scanned. If there is no memory leak, otherwise it could be that
 something is wrong with that code/configuration ?

 But: If not running clamav as a daemon (clamscan instead of clamdscan),
 the problem seems not to appear (or isn't yet seen). Every clamscan-
 process terminating frees allocated memory of the process. But running
 clamdscan, from time to time the clamd grows (in memory-usage). So this
 _looks_ like a memory leak.

 But also: I ran valgrind on one server, but the problem didn't appear
 for some days. As it appeared, the hole server crashed - murphy..
 So I have to do more valgrind-runs to get some useful output. Version
 is last stable (.75.1), and no BSD.

> > Is there anumber which says "x amount of memory used by clamd is normal" ?
> No, it depends entirely upon your usage.

 Let us say, the configuration is set to maximum scan of 10 mb - what
 would be (nearby) the amount of used memory to be expected on a system
 where no leaks appear ?



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to