Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] sync causing crash

2005-10-21 by Matthew S. Cramer

On Thu, Oct 20, 2005 at 03:57:11PM +0900, Hajimu UMEMOTO wrote:
> Hi,
> 
> >>>>> On Wed, 19 Oct 2005 07:55:10 +0000
> >>>>> Emmanuel Dreyfus <manu@...> said:
> 
> manu> On Tue, Oct 18, 2005 at 04:52:49PM -0400, Matthew S. Cramer wrote:
> > Dead end.  They are still crashing.
> > 
> > Not sure what the problem is, but it does not appear to be related to
> > too many threads.
> 
> manu> What about thread-safety problems?
> 
> I noticed that pthread_detach() is not issued.  So, the resources of
> the threads are not reclaimed.  The patch for this problem is attached
> in this mail.  However, since I think that the mxsync threads are not
> created so frequently, I'm not sure how it do for this issue.

I applied this patch and the other patch you posted regarding the
changes to pending.c for the memory usage issue.  milter-greylist has
been stable on all three of my MX servers for almost 24 hours, so this
definitely seems to have improved things!


Thanks!

Matt

-- 
Matthew S. Cramer <mscramer@...>          Office: 717-396-5032
Project Manager, Planning and Service Management    Fax:    717-396-5590
Armstrong World Industries, Inc.                    Cell:   717-917-7099

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.