On Thursday 04 March 2004 10:25 am, you wrote: > Looks good, but I've seen clamd temporarily allocate ~2x-3x a mail's > size, so be sure to not set the memory limit too low.
Yeah, I figure it's reasonable to spike some times. I'm just real squeamish because clamd managed to hard lock both of my load-balanced servers at once back before the "other" memory leak fix (actually causing an outage, which is the first time ever for this load-balanced, redundant setup). The OOM killer choked and didn't do it's job. Since then I've upgraded to a 2.6 kernel, which would probably handle it better... Anyway, I have the memory limit set at 7% (normal usage for clamd is 1.2%). However, I have seen monit report mem usage of 300+ mb (30%+ of 1gb of ram), and regardless of message size, that just seems like too much. What if clamd, Exim, tpop3d and courier-imap all allocated a few hundred megs of memory? Even with 2 gigs of mem+swap, I'd be out in no time. Seems like no one daemon should ever gobble that much, even temporarily. I see there's a low memory usage archive option in the config file. Should I consider that? (although I still think 300mb is excessive under any circumstances...) > Is the _complete_ mail (including headers) saved there? If not the > probabilty that the bug remains unrevealed is relatively high... > Yeah, Exiscan tells clamd to scan that directory, so that should be exactly what we need. It'll be even better than having the original email, 'cause Exiscan would have already done its MIME thing and dumped the files into the scanning dir. > I'm setting up some test box for my next Debian packages, and keep you > up-to-date with my findings. > > Thomas Just FYI I'm using Debian stable/testing/backports.org with Exim 4.24 + Exiscan13 on Linux 2.6.1. I'm going to CC the list so other people can benefit from this thread. -- Matt Systems Administrator Local Access Communications 360.330.5535 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users