[rsyslog] how to best rotate files

david at lang.hm david at lang.hm
Mon Sep 15 09:17:47 CEST 2008


On Mon, 15 Sep 2008, Rainer Gerhards wrote:

>> I get a couple of rotations sucessfully (with ~22,000 logs/sec in the
>> files), but then rsyslog seems to hang.
>> lsof show it with the file open that was moved (and later deleted by
>> gzip).
>> I need to do a kill -9 of rsyslogd to get it to recover.
>
> Definitely a bug... I now "just" need to find out where. I guess there
> is some mutex issue in the queue engine during shutdown. Don't expect a
> fix too soon, but I'll do my best. I hope I can find a simpler error
> condition (if my conclusion on the problem source is right...)

let me know if you need me to try anything. given the volume of logs I 
don't know if it would be worth trying to do a strace.

David Lang



More information about the rsyslog mailing list