[rsyslog] Development of failsafe disk based queue

david at lang.hm david at lang.hm
Wed Oct 1 17:43:52 CEST 2008


On Wed, 1 Oct 2008, David Ecker wrote:

> Already did both with 2.18.3 but'll try again with 3.21.5 and 3.18.4. My
> guess is, that the O_DIRECT in combination with the O_SYNC flag (turning
> of cache) will have an impact.

O_DIRECT is doing very different things. I don't think you need to worry 
about those things, having the data not go into the OS cache is a drawback 
not an advantage becouse it means that when you go to pull the data back 
out of the file it will need to actually touch disk. it also imposes 
significant alignment issues on the application that I don't think you 
want to have to desl with.

David Lang

> I won't be able to test it tomorrow and since Friday is a vaction in
> germany I'll be able to tell you on monday the results of my tests.
>
> Thanks for your help. I was actually positivly suprised by the
> constructiveness of our discussion.
> David Ecker
>
> david at lang.hm schrieb:
>> On Wed, 1 Oct 2008, Rainer Gerhards wrote:
>>
>>
>>> David (Ecker ;)),
>>>
>>> I'd appreciate if you let me know your results after you have tested
>>> with $..QueueCheckpointInterval 1
>>>
>>
>> also, try mounting the filesystem -o sync
>>
>> this should make everything on it a sync write without Rainer having to
>> change his code (won't work for other situations, but will definantly work
>> for a test)
>>
>> David Lang
>> _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com
>>
>
>
-------------- next part --------------
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com


More information about the rsyslog mailing list