On Fri, Oct 14, 2005 at 07:56:45PM +0000, Emmanuel Dreyfus wrote: > On Fri, Oct 14, 2005 at 02:30:55PM -0400, Matthew S. Cramer wrote: > > > You can add a global and change it in mlfi_connect (+1) and mlfi_close (-1) > > > > Do I need to lock this variable, or is that handled automagically? > > It's not handled automagically, but I'm not sure we should care. My threads from this never reach more than 30 or 40, which is consistent with the amount of sendmail children I have running at any given time. I've added another global var and am now incrementing each time sync_server starts and decrementing each time it returns. Each time milter-greylist crashes it is preceeded by the pthread_create errors of EAGAIN, always when trying to start a thread for sync_server. Thanks for the continued help. 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
Message
Re: [milter-greylist] sync causing crash
2005-10-14 by Matthew S. Cramer
Attachments
- No local attachments were found for this message.