On 27-06-13 13:58, Paul J Stevens wrote:
> On 27-06-13 13:46, Ronald Moesbergen wrote:
> 
>> I've checked with lower concurrency (2 thread per sending server) and
>> that seems to work, at least in my test setup. I've also found another
>> workaround: run dbmail-lmtpd under 'xinetd', using dbmail-lmptd in
>> stdin/stdout mode (-n). This way there's always one client talking to
>> one dbmail-lmtpd process. An added bonus when using this method is that
>> it's much faster and can handle much more traffic. Also, there's no
>> long-lived dbmail-lmtpd process that causes downtime when it crashes...
> 
> 
> Excellent. lmtp under xinetd is indeed a nice approach that allows you
> to scale out better.

Just make sure

[LMTP]
max_db_connections=1

when running lmtp in xinetd mode or else it will eat up too many
database connections.

In other words: max_db_connections=1 should be the default, except for
imapd as long as all other processes are single threaded.

I've just pushed a change to support this. Before, max_db_connections
could only be set below [DBMAIL]...


-- 
________________________________________________________________
Paul J Stevens        pjstevns @ gmail, twitter, skype, linkedin

  * Premium Hosting Services and Web Application Consultancy *

           www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
________________________________________________________________
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to