you really should switch to using the action() style syntax for anything complex
like this. This old format of multiple lines that affect the next action is very
confusing to understand.
The current documentation should list the default values (the watermark
functionality is disabled by default)
David Lang
On Tue, 29 May 2018, rsyslog--- via rsyslog wrote:
Date: Tue, 29 May 2018 15:34:54 -0600
From: rsyslog--- via rsyslog <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: [rsyslog] Queue Directives Help
I have the following setup that I want to use (on RH 6 and 7)to stop the
system from slowing and/or hitting performance issues if:
1. Remote TCP logs server is down or not present for a extended time
2. The disk queue happens to fill up and can no longer write to disk for some
reason ( $ActionQueueTimeoutEnqueue 0)
$WorkDirectory /var/log
$ActionQueueFileName srv1
$ActionQueueMaxDiskSpace 1g
$ActionQueueTimeoutEnqueue 0
$ActionQueueSaveOnShutdown on
$ActionResumeRetryCount -1
*.* @@192.168.1.113:6.14
A few questions. Looking at various examples, it seems that some specify the
following as well:
$ActionQueueSize 1000 # Default?
#When the disk queue comes into play
$ActionQueueLowWaterMark 2000
$ActionQueueHighWaterMark 8000
# discard messages
$ActionQueueDiscardMark 9750 # Default
I've looked at the explanation on queues at th rsyslog site
(http://www.rsyslog.com/doc/v8-stable/concepts/queues.html) and I'm inclined I
do not need to specify these directives, but I was wondering how these items
are handled if they are not explicitly specified? Are there default values
assigned? _______________________________________________ rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow
https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts
are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and
DO NOT POST if you DON'T LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.