Date: Tue, 27 Feb 2007 08:56:03 +0500 From: "Sergey N. Voronkov" <serg@tmn.ru> To: Mike Tancsa <mike@sentex.net> Cc: freebsd-stable@freebsd.org Subject: Re: Clamav-90_2 Lockup with freebsd 6.2 Message-ID: <20070227035603.GA49430@tmn.ru> In-Reply-To: <200702270305.l1R35MX2067221@lava.sentex.ca> References: <003701c75a03$fb478ac0$d801a8c0@dimuthu> <200702270305.l1R35MX2067221@lava.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 26, 2007 at 10:05:35PM -0500, Mike Tancsa wrote: > At 07:12 PM 2/26/2007, Dimuthu Parussalla wrote: > >Clamav-90_2 Lockup with freebsd 6.2 > > > > > >Still under load clamav_90_2 locks up with high cpu usage. Had to downgrade > >the port to 88.7_1 to get the server going. Sockstat shows lots of open > >sockets from clamd. > > > >I am using simscan+Qmail+Clamav. > > > >Any Ideas to solve this problem?. > > > Change the threading lib. It fixed it for us. > > % cat /etc/libmap.conf > [clamd] > libc_r.so.5 libthr.so.2 > libc_r.so.6 libthr.so.2 > libthr.so.2 libthr.so.2 > libpthread.so.1 libthr.so.2 > libpthread.so.2 libthr.so.2 Or limit MaxThreads to one: # grep MaxT /usr/local/etc/clamd.conf MaxThreads 1 Looks like there are some bugs on thread usage into 0.90. It locks on FreeBSD and Solaris at least. (May be threading is much more linux specific in comparation to 0.88.7). Serg.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070227035603.GA49430>