From owner-freebsd-stable@FreeBSD.ORG Thu Mar 15 23:29:05 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 1FDD316A401 for ; Thu, 15 Mar 2007 23:29:05 +0000 (UTC) (envelope-from lolo@agneau.org) Received: from bergerie.agneau.org (bergerie.agneau.org [81.57.99.251]) by mx1.freebsd.org (Postfix) with ESMTP id D2D7D13C45A for ; Thu, 15 Mar 2007 23:29:04 +0000 (UTC) (envelope-from lolo@agneau.org) Received: by bergerie.agneau.org (Postfix, from userid 500) id 35BFE10887A; Fri, 16 Mar 2007 00:16:33 +0100 (CET) Date: Fri, 16 Mar 2007 00:16:33 +0100 From: Laurent Frigault To: Rob MacGregor Message-ID: <20070315231633.GA74327@obelix.bergerie.agneau.org> References: <20070305152453.H18301@godot.imp.ch> <1173106098.8193.6.camel@syntax.dstl.gov.uk> <20070310121342.I6787@godot.imp.ch> <20070310141202.C6787@godot.imp.ch> <20070312102512.GA35124@tirith.brixandersen.dk> <20070312130633.U5578@godot.imp.ch> <45F987D8.9060909@insidesystems.net> <200703152000.l2FK01Fu037322@lava.sentex.ca> <45F9AC5A.4060807@blueyonder.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <45F9AC5A.4060807@blueyonder.co.uk> User-Agent: Mutt/1.4.2.1i X-Powered-By: UUCP Cc: clamav-devel@lists.clamav.net, 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: Thu, 15 Mar 2007 23:29:05 -0000 On Thu, Mar 15, 2007 at 08:28:10PM +0000, Rob MacGregor wrote: > >> FWIW, we have several machines running with the libmap.conf hack. > >> clamav no longer locks up, but has instead taken to occasionally dying > >> altogether. > > Hi, > > I think there are other bugs in the current clamd, the main one that > > we run into is when it tries to reload the database, and it somehow > > confuses itself and exits. > > > > http://lurker.clamav.net/message/20070314.170629.9118e704.en.html > > At least on FreeBSD 5.4 I think I've tracked the problem down to -lthr: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=110352 > > Using either -lpthread or simply not using -lthr clamd (for me) doesn't > crash (well, not yet :>). > > Only happens to me with 0.90.1 in daemon mode. With 0.90_x or 0.90.1 in > foreground mode it stays running afer the selfcheck. I have seen several clamd locks under 5.5 + libthr with 0.90.1 . No problem under 5.5 with pthread . See the 2nd part of http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/110334 regards, -- Laurent Frigault |