Re: [exim] smtp_accept_max_per_connection

Góra strony
Delete this message
Reply to this message
Autor: Bill Hacker
Data:  
Dla: exim-users
Temat: Re: [exim] smtp_accept_max_per_connection
Philip Hazel wrote:

> On Wed, 30 Nov 2005, Bill Hacker wrote:
>
>
>>Given that there can be several hundred simultaneous connections,
>>- each allocated ten acl_c(n) variables,


*<trimmed>*

>
> Doubling the number of variables would add 80 bytes to the memory used
> by an Exim process on a 32-bit system, if those variables were never
> used. This is like adding one additional header line to every message,
> which is (IMHO) not a lot.
>


So even use of, say half of them, for strings of, for example 80 bytes
per string,
is 'de minimus'.

Seems to be a cheap enough course to just double 'em, then, and not
complicate
the build with yet-another flag.

FWIW, as they can be overlaid and also function well as accumulators, I
have yet to need more that half of either type, despite running a
'dual-track' pre-scanner progressive scoring system, (protocol violation
count, format error count, etc.).

- so am not expecting to resort to nyble-packing, greyscale, or bitmaps,
even at the current limits ... ;-)

Best,

Bill