Date: Tue, 9 Jul 2002 12:02:32 -0400 From: Joe Talbott <josepht@cstone.net> To: Dan Nelson <dnelson@allantgroup.com> Cc: Pete Carah <pete@ns.altadena.net>, stable@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: Hang problem with spamass-milter... Message-ID: <20020709160232.GB18270@copper.eng.cstone.net> In-Reply-To: <20020708222004.GB13884@dan.emsphone.com> References: <200207081952.g68JqB55059730@ns.altadena.net> <20020708200747.GA82041@dan.emsphone.com> <20020708210236.GA65659@copper.eng.cstone.net> <20020708222004.GB13884@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020709160232.GB18270>
