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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Piete Brooks
日付:  
To: Philip Hazel
CC: 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 ?