From owner-freebsd-stable Tue Jul 9 9: 2:47 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 5DB1037B405; Tue, 9 Jul 2002 09:02:37 -0700 (PDT) Received: from copper.eng.cstone.net (copper.eng.cstone.net [209.145.66.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC55D43E58; Tue, 9 Jul 2002 09:02:36 -0700 (PDT) (envelope-from josepht@copper.eng.cstone.net) Received: from copper.eng.cstone.net (localhost [127.0.0.1]) by copper.eng.cstone.net (8.12.3/8.12.3) with ESMTP id g69G2Xlj020331; Tue, 9 Jul 2002 12:02:33 -0400 (EDT) (envelope-from josepht@copper.eng.cstone.net) Received: (from josepht@localhost) by copper.eng.cstone.net (8.12.3/8.12.3/Submit) id g69G2W9S020330; Tue, 9 Jul 2002 12:02:32 -0400 (EDT) Date: Tue, 9 Jul 2002 12:02:32 -0400 From: Joe Talbott To: Dan Nelson Cc: Pete Carah , stable@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: Hang problem with spamass-milter... Message-ID: <20020709160232.GB18270@copper.eng.cstone.net> Mail-Followup-To: Dan Nelson , Pete Carah , stable@FreeBSD.ORG, questions@FreeBSD.ORG References: <200207081952.g68JqB55059730@ns.altadena.net> <20020708200747.GA82041@dan.emsphone.com> <20020708210236.GA65659@copper.eng.cstone.net> <20020708222004.GB13884@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020708222004.GB13884@dan.emsphone.com> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-11.3 required=5.0 tests=IN_REP_TO,X_NOT_PRESENT,USER_IN_WHITELIST_TO version=2.30 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 On Mon, Jul 08, 2002 at 05:20:04PM -0500, Dan Nelson wrote: > In the last episode (Jul 08), Joe Talbott said: > > > > To repeat: > > > > for i in `jot 10 1`; do > > echo "test $i" | mail -s "test $i" email@dom.com > > done > > Works for me. I changed `jot 10 1` to `jot 100 1` and after some > chugging, got all 100 messages. With patch 349 applied, the milter > uses a select() loop in the part of the code where it needs to both > read and write from spamc, so I can't see where it would deadlock. After applying the updated 349 to a fresh CVS update I received all 10 of my test messages. I have always gotten the messages. Before my latest build the headers were not being added. After the update all 10 messages were correctly processed. However I have 4 spamc processes hanging around and 4 spamd processes hanging around. I sent you this in a private email along with -d2 level logs. > It's possible you're seeing some sort of threading bug on -stable; I > have only tested on -current. That's possible. I haven't had much time to dig into this. > > > I also applied patch 372 which didn't solve the problem. > > 372 just sets all the sockets to non-blocking, which will cause > buzz-loops, and adds some other bugs that make it not 8-bit clean for > incoming messages. So you're saying I maybe should remove this patch from my builds? Thanks for your help, Joe -- Laziness is nothing more than the habit of resting before you get tired. Jules Renard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message