[rsyslog] rsyslog 4.5.x queue file cleanup?
Rainer Gerhards
rgerhards at hq.adiscon.com
Tue Oct 13 14:16:47 CEST 2009
This looks like a dirty shutdown. In general, rsyslog cleans up when
processing completes. Do you have a .qi file inside that directory? Absence
of a .qi file - when the instance is not running - is indication of an issue
during shutdown.
Rainer
> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of Marc Schiffbauer
> Sent: Tuesday, October 13, 2009 1:21 PM
> To: rsyslog at lists.adiscon.com
> Subject: [rsyslog] rsyslog 4.5.x queue file cleanup?
>
> Hello all,
>
> I am running a rsyslog server version 4.5.2
>
> I tested the message queuing capabilities recently and noticed that
> queue
> files do not get cleaned up. Evertime rsyslog has to spool something
> (e.g.
> when the database server ist stopped) it creates new spoolfiles so the
> spool
> area will grow over time.
>
> Is this a bug or how can I handle those old queue files?
>
> This is the relevant part from my config:
>
> # enable message spooling
> $WorkDirectory /data/syslog-spool # default location for work (spool)
> files
> $ActionQueueType LinkedList # use asynchronous processing
> $ActionQueueFileName dbq # set file name, also enables disk
> mode
> $ActionResumeRetryCount -1 # infinite retries on insert failure
>
>
> TIA
> -Marc Schiffbauer
> --
> Senior Consultant :: Solution Architect
> IT-Security :: Free Software :: GNU/Linux
> MightyCare Solutions GmbH http://www.mightycare.de
> Firmenangaben unter http://www.mightycare.de/#/de/impressum/
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
More information about the rsyslog
mailing list