Re: [Exim] Exim 4.30 bug in handling large error files on Li…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Gavin Sherry
Fecha:  
A: Andreas Metzler
Cc: exim-users
Asunto: Re: [Exim] Exim 4.30 bug in handling large error files on Linux
On Wed, 21 Jan 2004, Andreas Metzler wrote:

> On Wed, Jan 21, 2004 at 09:44:18AM +1100, Gavin Sherry wrote:
> > I encountered a problem with Exim 4.30's handling of large error files on
> > Linux. I had Exim generating verbose logging information and managed to
> > fill exim_mainlog to 2^31 bytes.
>
> > At this point write() fails since Exim doesn't appear to open the mainlog
> > with O_LARGEFILE under Linux (a reasonable assumption). However, very
> > strange behaviour ensued.
> [...]
>
> One of the reasons we compile exim with "-D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE" on Debian. scnr.


Yes. It still doesn't address the problem itself; namely: unpredictable
behaviour at logging file offset boundaries. Naturally, you're going to
have a remarkably large log at the large file boundary but... :-)

Gavin