On Mon, 2008-09-22 at 08:08 -0400, Wietse Venema wrote: > ram: > > I have implemented a custom whitelist/blacklist with a milter. This > > milter has been working smoothly for a nearly 2 years now on multiple > > machines > > > > But now On 1 machine even if the load is very low and there is ample > > free memory once the number of smtpd processes reaches 300 ( I have set > > limit to 650 ) some milter processes start timing out. Some smtp > > connections only are affected most still go thru > > All Postfix SMTP servers connect to the same milter process. This > means that the milter can see hundreds of concurrent connections > from Postfix at the same time. > > Apparently, some milters stop working properly under conditions of > high concurrency. Perhaps you can configure the milter to reserve > space for more. > My machine has enough memory. Is that what is meant by space
How do I "reserve space for more" milters. I have been STFW-ing but with no results My milter is quiet simple. It just does a bsearch on a in-memory array , to find if the recipient has blacklisted / whitelisted the sender and takes action accordingly The array now has approx 200k elements, which should be nothing for 4GBRam box Thanks Ram