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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Piete Brooks
Ημερομηνία:  
Προς: Philip Hazel
Υ/ο: exim-users
Αντικείμενο: Re: exim can hold mainlog files open for a long time .....
> If a message contains a number of addressees and it takes a long time
> for each delivery (e.g. a large message trickling over slow networks) then
> this can happen, since Exim does not close the log file in between. Does
> anyone think it should?


How about a configed variable max_log_open, and have the log proc do a

    if    (time() > log_expire_time)
    then    attempt re-open
        log_expire_time = time() + max_log_open


before each write ?