Re: [exim] exim opening multiple connections to database

Página Inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Para: exim-users @ exim. org
Assunto: Re: [exim] exim opening multiple connections to database
Marco Herrn wrote:
> I have nearly all my configuration parameters for exim in a postgresql database. That is for example, the local domains, email adresses and some tables for spamcheck with spamassassin. Also spamassassin itself stores its configuration, auto-whitelist and bayesdb in a database.
>
> Now I tried to test my spamfilter with 150 spammails. When doing this postgresql rejects a lot of connections because of its maximum connection limit. This connection limit is set to 100 concurrent connections, so I am quite sure that this shouldn't happen. spamassassin opens no more than 5 processes and therefore should not open more than five connections to the database.
>
> How does exim do this? I bounced all 150 spam messages all at once to one address. Does exim process these mails in parallel? The postgresql log for 1 mail looks like this:


How were you sending these tests? Would they have been hitting exim
in parallel?

What does your exim configuration do about limiting parallelism?

- Jeremy