[syslog-ng] Delay writing to files

Nate Campi nate at campin.net
Mon Dec 26 08:23:06 CET 2005

On Sun, Dec 25, 2005 at 11:15:18PM -0800, Paolo Supino wrote:
>   Thanx Nate. But for some reason sync doesn't do it in my
> configuration. I have the following global section in my configuration:
> options { sync (0);
>           time_reopen (1);
>           log_fifo_size (999999);
>           long_hostnames (yes);
>           use_dns (yes);
>           dns_cache(yes);
>           dns_cache_size(1000);
>           dns_cache_expire(604800);
>           use_fqdn (yes);
>           create_dirs (yes);
>           keep_hostname (yes);
>         };
>  and still messages are written in delay to the files:

What kind of delay are we talking about here? I'd think that the only
remaining cause of delay isn't syslog-ng but the OS and/or your C
libraries, but maybe something weird is going on.

"If you torture the data enough, it will confess."    ~ Ronald Coase. 

More information about the syslog-ng mailing list