[rsyslog] rsyslog 5.3.6 (v5-beta) released
Rainer Gerhards
rgerhards at hq.adiscon.com
Wed Jan 20 18:02:22 CET 2010
> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of david at lang.hm
> Sent: Wednesday, January 20, 2010 6:01 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] rsyslog 5.3.6 (v5-beta) released
>
> On Wed, 20 Jan 2010, Rainer Gerhards wrote:
>
> > I forgot to mention:
> >
> >> I realize there is still a window for corruption (if two output
> threads
> >> running at the same time both decide they need to write at the same
> >> time),
> >> but it seems that in practice it's effectively gone.
> >
> > The current code writes a single line with a single API call. I guess
> that
> > call is rather atomic from an OS point of view, so the window of
> corruption
> > probably don't even exists with current rsyslog and linux code.
>
> even when things are batched? with 5.3.5 I was very definantly
> experianceing problems with lines getting combined in the writes when I
> had multiple outputs to the same file (using different formats to fix
> up
> bad input)
good point. No, you are right. With batches, buffered mode is used by
default, with a flush at the end of batch.
Rainer
>
> David Lang
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
More information about the rsyslog
mailing list