On 6/10/2014 6:32 PM, uffe wrote: > > Now I got it working - thanks > > Are tcp_table lookup "deamon" instances supposed to exit themselves - for > every lookup - or can postfix reuse them "persistent" > > I'm having a hard time understanding the comment in the bugs section: The > client does not hang up when the connection is idle for a long time > (http://www.postfix.org/tcp_table.5.html) > > My tcp_table lookup "deamon" is currently running under daemontools (max > concurrent 10 instances) and postfix seems to keep them hanging around - but > sometimes it seems that the system gets stuck > I'm going through my own code - but havent found anything yet - hence my > question > > /Uffe
The tcp daemon should probably exit when the postfix client disconnects. This will happen periodically as postfix retires and recreates new smtpd processes. The max connections will need to be at least $default_process_limit (default 100). Each smtpd process will create its own connection to your table. I suppose you could use proxy:tcp: to limit the number of connections. -- Noel Jones