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)

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to