From owner-freebsd-stable@FreeBSD.ORG Sun Mar 4 23:06:37 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 ABB4416A400; Sun, 4 Mar 2007 23:06:37 +0000 (UTC) (envelope-from mb@imp.ch) Received: from pop.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.freebsd.org (Postfix) with ESMTP id 3322513C48D; Sun, 4 Mar 2007 23:06:36 +0000 (UTC) (envelope-from mb@imp.ch) Received: from dan.imp.ch (godot.imp.ch [157.161.4.8]) by pop.imp.ch (8.13.8/8.13.8/Submit_imp) with ESMTP id l24N6YYl073629; Mon, 5 Mar 2007 00:06:35 +0100 (CET) (envelope-from mb@imp.ch) Date: Mon, 5 Mar 2007 00:06:34 +0100 (CET) From: Martin Blapp To: ClamAV Development In-Reply-To: <20070304214255.O18301@godot.imp.ch> Message-ID: <20070305000334.E18301@godot.imp.ch> References: <003701c75a03$fb478ac0$d801a8c0@dimuthu> <200702270305.l1R35MX2067221@lava.sentex.ca> <20070227035603.GA49430@tmn.ru> <20070227183553.B18301@godot.imp.ch> <20070304214255.O18301@godot.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: deischen@freebsd.org, 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: Sun, 04 Mar 2007 23:06:37 -0000 Hi, > looking at the output value of 'ps -auxH | grep clamd | grep -v grep | wc -l' > is always staying at 6 threads, but the number of threadpool->thr_alive is > going higher and higher. So threadpool->thr_alive isn't decreased and > is completly incorrect. After setting IdleTimeout very low to 5 seconds, the threadpool->thr_alive gets decreased correctly. There are still always 6 threads running, but further threads get cleaned up correctly. IMHO the whole clamd thread management is somehow broken. -- Martin