[rsyslog] how to best rotate files
Rainer Gerhards
rgerhards at hq.adiscon.com
Mon Sep 15 11:28:19 CEST 2008
On Mon, 2008-09-15 at 02:07 -0700, david at lang.hm wrote:
> On Mon, 15 Sep 2008, Rainer Gerhards wrote:
>
> > On Mon, 2008-09-15 at 01:31 -0700, david at lang.hm wrote:
> >> On Mon, 15 Sep 2008, Rainer Gerhards wrote:
> >
> >> one other item that occured to me, should I even be doing the kill -HUP?
> >> or does rsyslog open the file for writing each time (so that I just have
> >> to mv the file away and it will create a new one)?
> >
> > no, you need the HUP. Otherwise the file is kept open (so this is no
> > easy way to improve performance ;))
>
> here is a run with the debug and valgrind options
mmhhh... it still is missing lots of information. Did "make install"
install to incorrect locations? This happens quite often, especially on
x64 systems (I've fallen myself more than once into this trap).
Rainer
More information about the rsyslog
mailing list