From owner-freebsd-stable Mon Jul 8 13: 7:56 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E25FA37B400; Mon, 8 Jul 2002 13:07:51 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ADCC43E31; Mon, 8 Jul 2002 13:07:51 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g68K7l81014553; Mon, 8 Jul 2002 15:07:47 -0500 (CDT) (envelope-from dan) Date: Mon, 8 Jul 2002 15:07:47 -0500 From: Dan Nelson To: Pete Carah Cc: stable@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: Hang problem with spamass-milter... Message-ID: <20020708200747.GA82041@dan.emsphone.com> References: <200207081952.g68JqB55059730@ns.altadena.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207081952.g68JqB55059730@ns.altadena.net> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jul 08), Pete Carah said: > I have spamass-milter compiled and running in a fresh 4.6-stable box > (built last week). If two mail messages arrive "close enough" in > time, spamc hangs hard (needs kill -9 to stop it) in pipe-read state > with spamass-milter in pipe-read also. I have a suspicion about read > acting non-blocking in the pipe case; looking through the > pthread_read.c source, as long as EWOULDBLOCK or EAGAIN work right > things shouldn't act like this. You sure this is the trigger, and not an email over 250k? An unpatched spamass-milter will definitely hang on any email that spamc decides is too big to process (250k default). There are patches at http://savannah.gnu.org/projects/spamass-milt/ that fix this problem and add some more functionality ( see patches 349, 351, 354, 381, 385 ). Most of the patches require a CVS checkout, though, which is probably why the port doesn't include them. > spamass-milter's configure does not make the right choices for freebsd; > I presume the port fixes this (I did so myself, adding _THREAD_SAFE and > -pthread). The C++ library may or may not be thread-safe? patch 349 fixes this -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message