[rsyslog] how to best rotate files

david at lang.hm david at lang.hm
Tue Sep 16 19:03:54 CEST 2008


On Tue, 16 Sep 2008, Rainer Gerhards wrote:

>> an interesting tidbit, once I started the performance testing with
> name
>> lookups turned off I haven't had a failure of the rotation.
>>
>> I left it running overnight under heavy load, so I'll see how far it
>> got
>> in the morning.
>
> Oh, that's very interesting.
>
> Looking forward to the results.

a little more detail.

if I do an strace of a thread when I do the HUP, that thread does not 
close properly and never releases the file (I think the same thing was 
happening when I tried to run it under valgrind)

with name lookups disabled it ran overnight rotating once a min 
(processing 40,000 requests/sec)

David Lang



More information about the rsyslog mailing list