[rsyslog] Reducing the time a msg spends in the main unreliablemain queue to a minimum.
rgerhards at hq.adiscon.com
Wed Sep 1 13:21:58 CEST 2010
This sounds like a bug. Could you provide me a debug log?
> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of Sivan Greenberg
> Sent: Wednesday, September 01, 2010 1:20 PM
> To: rsyslog-users
> Subject: Re: [rsyslog] Reducing the time a msg spends in the main
> unreliablemain queue to a minimum.
> Hi Rainer,
> So I tried following your suggestions but can't seem to make the
> MainMsgQueue go to disk at no condition, I want to make it use the
> disk for some of the msgs at least , so if power goes off, some msgs
> are kept.
> However, this does not seem to happen even when setting the
> MainMsgQueue to be DA or Disk only, in DA mode I used quite
> restrictive watermarks that I hope will cause it to spool to disk:
> $WorkDirectory /root/rsyslog/spool
> # $MainMsgQueueType Disk
> $MainMsgQueueSaveOnShutDown on
> $MainMsgQueueType LinkedList
> $MainMsgQueueFileName mainq
> $MainMsgQueueSize 5
> $MainMsgQueueHighWatermark 4
> $MainMsgQueueLowWatermark 2
> $MainMsgQueueMaxDiskSpace 1g
> When commenting the "type" : "disk" there's still no change in
> behavior. To test it I do something like:
> for i in $(seq 1 10000); do logger test$i; done
> Any idea what needs to be done to make it use the disk for at least
> 50%-70% of the msgs?
> On Mon, Aug 30, 2010 at 9:19 AM, Rainer Gerhards
> <rgerhards at hq.adiscon.com> wrote:
> > Hi Sivan,
> > the main message queue supports the same set of properties and
> > like the action queue. The directives just start with $MainMsg...
> instead of
> > $Action...
> > So you can set the main queue to pure disk mode as well.
> > Rainer
> >> -----Original Message-----
> >> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> >> bounces at lists.adiscon.com] On Behalf Of Sivan Greenberg
> >> Sent: Sunday, August 29, 2010 10:44 AM
> >> To: rsyslog at lists.adiscon.com
> >> Subject: [rsyslog] Reducing the time a msg spends in the main
> >> unreliablemain queue to a minimum.
> >> Hi List,
> >> I have some critical msgs being transferred using rsyslog. Hence, I
> >> would like to minimize the time a msg spends in the unreliable by
> >> definition main queue. My understanding is that only action queues
> >> which are where msgs arrive when dispatched from main queue can be
> >> set to be disk only. Therefor my assumption that only they can be
> >> truly reliable.
> >> Any suggestions / feedback will be highly appreciated.
> >> -Sivan
> >> _______________________________________________
> >> rsyslog mailing list
> >> http://lists.adiscon.net/mailman/listinfo/rsyslog
> >> http://www.rsyslog.com
> > _______________________________________________
> > rsyslog mailing list
> > http://lists.adiscon.net/mailman/listinfo/rsyslog
> > http://www.rsyslog.com
> rsyslog mailing list
More information about the rsyslog