Re: [Exim] Memory problem(s) with messages with lots of head…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Gary Palmer
Data:  
Para: exim-users
Assunto: Re: [Exim] Memory problem(s) with messages with lots of headers
Philip Hazel wrote in message ID
<Pine.SOL.4.44.0203181020320.7772-100000@???>:
> Exim is supposed by default to limit the amount of memory it uses for a
> message's header to 1 MB. This is controlled by the value of
> HEADER_MAXSIZE at build time. I don't think that 7377 of those header
> lines adds up anything even close to 1 MB, however. However, if a lot of
> messages arrived at once...


No, this was just a single message. And the -H file was ~210kilobytes
in size.

> > If I truss the process (exim -v -M <msg-id>), then immediately before
> > the malloc() bomb, it reads in the sytem filter file.


> Aha! What is in your system filter? Do you refer to any variables that
> use the headers? Exim 3 has some lousy code for doing this job. I
> rewrote it for Exim 4 after previous incidents of a similar nature.


Yes, it does refer to the header variables, and I believe it refers to
$header_content-type a few times also.