Re: [EXIM] Odd trace of exim -bd -qq20s

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Nigel Metheringham
Data:  
Para: michael
CC: exim-users
Assunto: Re: [EXIM] Odd trace of exim -bd -qq20s

michael@??? said:
> Calling alarm this often does not look correct to me. I doubt this
> causes my problems, but it is odd in itself.


Its doing something like

    while(1) {
        alarm(300); /* set timeout to read next line */
        read_line();
        process_line();
        if finished
            break;
    }
    alarm(0);


The read_line is reading from buffered stuff so you are seeing an
occaisional large read() in the strace rather than one read() per line.

    Nigel.

        
-- 
[ Nigel Metheringham                  Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000                         Fax +44 1423 858866 ]




--
*** Exim information can be found at http://www.exim.org/ ***