[syslog-ng] Delay writing to files

Balazs Scheidler bazsi at balabit.hu
Tue Dec 27 12:09:17 CET 2005

On Mon, 2005-12-26 at 03:14 -0800, Paolo Supino wrote:
> Hi 
>   Here is an update on the interval in writing to the log file: 
> the output of ls -l on the file: 
> -rw-r--r--  1 root root 6234 Dec 26 08:03 switch-01.log
> and the last messsege coming in on the NIC (captured by tcpdump): 
> 12:56:57.564348 IP switch-01.1024 > syslog.hot.net.il.syslog: UDP,
> length 75
>  As you can see the time interval is almost 5 hours... :-( 

I can't see how this could happen, log_fifo_size only specifies the
maximum size of the buffer and does not increase write latency on its

Does the message arrive to the destination at the end? Because if it is
not then probably it is an unrelated issue. The only thing that affects
write latency is sync()


More information about the syslog-ng mailing list