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 Matthew S. Cramer

On Thu, Oct 13, 2005 at 07:41:03PM +0000, Emmanuel Dreyfus wrote:
> On Thu, Oct 13, 2005 at 02:29:02PM -0400, Matthew S. Cramer wrote:

> > Our resident C expert thinks I am hitting some kind of max threads per
> > user limit or max open files limit (I am running the milter under a
> > non-privileged user). 
> 
> That's also my feeling. Do you know how many thread you can run?

I am going to brush off my C skills and write a short program that
just spawns threads and counts them to see how long it can go before
it blows up.

Are the number of threads for syncing a factor of - sendmail children,
or number of tuples that need to be synced?

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)?

BTW, I am using 2.0.1 of milter-greylist and sendmail 8.13.4.


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.