Date: Tue, 6 Mar 2007 16:39:04 +0100 From: Oliver Brandmueller <ob@e-Gitt.NET> To: freebsd-stable@freebsd.org Subject: Re: Clamav-90_2 Lockup with freebsd 6.2 Message-ID: <20070306153904.GK31435@e-Gitt.NET> In-Reply-To: <32c25d140703020619i67ac96e6y24175f73a70c76c7@mail.gmail.com> References: <003701c75a03$fb478ac0$d801a8c0@dimuthu> <200702270305.l1R35MX2067221@lava.sentex.ca> <20070227035603.GA49430@tmn.ru> <20070227183553.B18301@godot.imp.ch> <867iu2gtny.fsf@sparrow.local> <3aaaa3a0703010217u63e389f2hbe848a8fc42cd9f2@mail.gmail.com> <868xehfdcs.fsf@sparrow.local> <20070301121848.L18301@godot.imp.ch> <45E71276.2050708@FreeBSD.org> <32c25d140703020619i67ac96e6y24175f73a70c76c7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Fri, Mar 02, 2007 at 11:19:40AM -0300, Carlos Horowicz wrote: > Anybody tried this additionally in /etc/libmap.conf ? > > [/usr/local/lib/libclamav.so.1] > libpthread.so.2 libthr.so.2 > > clamav-0.90_2 reduced CPU consumption for me on 6.2-Stable since I > added the two sections in libmap.conf Apart from already running with libthr for clamav for a long time, I just changed my exim config: While having big CPU usage problems in the last days with exim connecting to the local socket I have exim now connecting to localhot:3310 by tcp. The difference is, that before clamd scanned all files in the directory given by exim. Effectively exim was unpacking the whole MIME structure and placed all parts in the dir plus the complete e-mail. That way clamd need to examine every single part and also checked the whole e-mail unpacking the structure by itself. When using the TCP socket the mail is just sent as a stream and clamd handles it completely. For us this was anyhow just the first step before moving clamd to a loadbalanced set of servers, so that a failing clamd does not affect exim anymore. - Oliver -- | Oliver Brandmueller | Offenbacher Str. 1 | Germany D-14197 Berlin | | Fon +49-172-3130856 | Fax +49-172-3145027 | WWW: http://the.addict.de/ | | Ich bin das Internet. Sowahr ich Gott helfe. | | Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070306153904.GK31435>