Re: exim can hold mainlog files open for a long time .....

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: tron
Data:  
Para: Piete.Brooks, ph10
CC: exim-users
Assunto: Re: exim can hold mainlog files open for a long time .....
>I PROPOSE:
>
>we have a new parameter keep_log_open which defaults to 0 seconds.
>
>If set to -1, no checks are ever made (code ASIS).
>If set to 0, don't check the time, just do a stat (as you want above).
>Otherwise, check if time expired.


This is really getting silly. Just stat the file immediately before
writing to the log. If you have stat'd recently, then the stat is close
enough to free that it isn't important to optimize it out. If the last
stat wasn't recent, then you should do one.

Also: just what smail needs: another obscure parameter.
-- 
    Ronald S. Karr
    tron |-<=>-|    tron@???