Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] sync causing crash

2005-10-13 by Emmanuel Dreyfus

On Thu, Oct 13, 2005 at 04:53:00PM -0400, Matthew S. Cramer wrote:
> Are the number of threads for syncing a factor of - sendmail children,
> or number of tuples that need to be synced?

You have one thread per mail being processed and one thread for syncing.

> I'll write that program and let you know the results.
> 
> Actually - is there a global structure to which I can add a thread
> count and then increment during any pthread_create (and decrement
> during the destroy)?

You can add a global and change it in mlfi_connect (+1) and mlfi_close (-1)

-- 
Emmanuel Dreyfus
manu@...

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.