On Tue, 14 Sep 2004, Trog wrote: > On Tue, 2004-09-14 at 06:30, Meni Shapiro wrote: > > > > Clamd works great for lots of people, but some have reported memory > > > leaks on latest stable (0.75.1), > > > which could cause your system to be "out of memory". > > A few people (out of the thousands who run ClamAV) have reported "memory > leaks" in stable versions of clamd.
I am one of them. > 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. If I were an experienced software developer, I would without hesitation. But, I am only a humble admin. > None of the development team have seen such a leak. Sucks to be me. > Until 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. Various versions of clamd have experienced random crashing and what I call "memory leaks" on FreeBSD 4.9, the major symptom of which is expanding memory usage (both VSZ and RSS) as reported by ps, until the process consumes all available memory. In other words, clamd starts by consuming about 12 MB, then, as viruses are found, memory usage grows. For a while, I was killing and restarting clamd every few days because the process had consumed over 250MB of memory (both VSZ and RSS). No other process running on any FreeBSD system I manage has shown this behavior. None. Maybe I'm just lucky. My solution is to watch the CVS change log for "fixed memory leak", then try that code. I have been running ClamAV devel-20040827/489/14 successfully. Memory usage has been stable for almost two weeks, and the process has yet to crash. PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 82524 mailnull 2 0 34936K 33636K poll 51:59 0.00% 0.00% clamd Whatever was fixed between 20040803 and 20040824 stopped the crashing (I would be more specific but I was on vacation), and fixes between 20040824 and 20040827 appear to have resolved the expanding memory usage issues on my system. For what it is worth, I offer my thanks and appreciation to the clamav development team for their hard work on this project. I wish I could be more helpful. Regards, Mike Lambert ------------------------------------------------------- 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