From owner-freebsd-stable@FreeBSD.ORG Wed Feb 28 15:58:59 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6947916A400 for ; Wed, 28 Feb 2007 15:58:59 +0000 (UTC) (envelope-from marko.lerota@claresco.hr) Received: from zid.claresco.hr (zid.claresco.hr [85.114.42.226]) by mx1.freebsd.org (Postfix) with ESMTP id A217E13C461 for ; Wed, 28 Feb 2007 15:58:58 +0000 (UTC) (envelope-from marko.lerota@claresco.hr) Received: (qmail 49335 invoked by uid 1001); 28 Feb 2007 15:59:13 -0000 To: Martin Blapp Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWgnbRLVpRNVY9jMRPh s21jSlEyNVX45Mv4zI+sbUclFAtMVpT8V0lFAAACZ0lEQVR4nG3Tv2vbQBQHcFMogWyeNeVK BLXGl5j6xnABOaNTuXFGmWpwtw519yj4soW6AatT4GKD3+aDZrl/rt/Tr9qlGiz7Pn7v3bsf HVc/NrIiSfElqH53GgijcCqzk/+AmBF5cN0DsFlIRGMh/oHuqxkTM6VlzB4EoZEs2aSZOASb EQJYZpweQshE697GTDndBXtgp9LIT9+OpDGHEfb9knk+nx+jfN1JCVZMCl6XwFm0a2EXztZD 3s4fj47ZbKI2VeBmJImeEfGLJ+M9sDPilX7IB5rN6sdfcGhuoHU+LC4nxfnI7YOJtdb95Gb+ fbgJ2uJ2ZgaA++f5ZzBqNCCYfMTd5q0BfBVNqm7I8gUjQ+YtXotRW6PH9AEj+dKs/KuNQAl5 o/NY+QkonW8aQAl0oXMYPvRiXIM4pRJifbXytnhTA8alBx/jefG2ar3DBlt34/PXz9M+nMVN iNaPUdCApJc2ItejOmLGoK1qQLV9pJmXBnL10DYoBA5aHNfj8ZNwZa5O4CzgTJeilKJmrQJs IHIt1/7/Sg2p3iq/Hz0/5W05rq4M9aN2B5FLohUP4ylVyfxhEIjAs8J4PhIJ9U+CEroogib5 BXAf7bB4vkfAzgPFt1tM9sJZAOH+lCexhwswuNtim4QTZdokqo4o89LkH7V6iFxICeqfp+Wh fmUuGPunLj2Meti6Cn4DjJ/UReROqR+aqawAi/JkfgKE64rrfkhjU8MtT8ivR4S5n6Yo08A7 HvgAlHDWRSGlNSDxwK9HtXy4FS2I60EdUIJM+Ut9OZNJG4CpbEQW1VBQoQoPuBw2EVa4P0u0 TgzQF+VoAAAAAElFTkSuQmCC In-Reply-To: <20070227183553.B18301@godot.imp.ch> (Martin Blapp's message of "Tue, 27 Feb 2007 18:36:42 +0100 (CET)") References: <003701c75a03$fb478ac0$d801a8c0@dimuthu> <200702270305.l1R35MX2067221@lava.sentex.ca> <20070227035603.GA49430@tmn.ru> <20070227183553.B18301@godot.imp.ch> Organization: *BSD Users - Fanatics Dept. From: Marko Lerota Date: Wed, 28 Feb 2007 16:59:13 +0100 Message-ID: <867iu2gtny.fsf@sparrow.local> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org Subject: Re: Clamav-90_2 Lockup with freebsd 6.2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2007 15:58:59 -0000 Martin Blapp writes: > Even with libthr the CPU usage is still far too high ... > I'm currently looking at the code. Take a look at this post. I also have CPU usage problems and simscan installed. http://www.mail-archive.com/toaster@shupp.org/msg04119.html > Re: [toaster] clamav 0.90 patches up > Tom Collins > Fri, 16 Feb 2007 11:33:52 -0800 > On Feb 15, 2007, at 2:12 PM, Rick Macdougall wrote: >> One thing to keep in mind, if you are not using the :attach in simcontrol, >> do NOT enable rip mime in simscan as that will cause clamdscan to basically >> scan the message and the attachment twice. >> Clamav does a very good job of scanning encoded content and attachments >> all by itself. No need to duplicate effort. > I recently took a look at ripmime to see if it had a setting that would simply > dump the attachment filenames without actually creating the attachments. It, > unfortunately, does not. I haven't looked at the source to see if it would be > possible to build a modified version to accomplish my goals or not. > I guess I could modify my simscan to run ripmime, look at the attachment > filenames, and then delete them all before calling clamav. OR, I could > simply pass the message file to clamav instead of having it scan the > entire directory. > In the case of large attachments, it's a big waste of CPU cycles to scan > the entire message twice. I might just skip attachment blocking at this point, > and hope that clamav will catch all of the scr and pif crap. -- One cannot sell the earth upon which the people walk Tacunka Witco