[rsyslog-notify] Forum Thread: Re: Dequeue Perfomance - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Mon May 4 02:42:50 CEST 2015
User: kamermans
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25468#p25468
Message:
----------
Perhaps I've found the answer to my question about queue size:
[quote:314eeub6]
Disk assisted queues are special in that they do not have any size limit.
The enqueue an unlimited amount of elements. To prevent running out of
space, disk and disk-assisted queues can be size-limited via the
“$<object>QueueMaxDiskSpace” configuration parameter.
[/quote:314eeub6]
<!-- m --><a class="postlink"
href="http://www.rsyslog.com/doc/v8-stable/concepts/queues.html#limiting-the-queue-size">http://www.rsyslog.com/doc/v8-stable/co
... queue-size</a><!-- m -->
So it looks like I am not supposed to specify
[b:314eeub6]queue.size[/b:314eeub6] if using Disk-Assisted mode. Instead,
when memory is exhausted, things start writing to disk until
[b:314eeub6]queue.maxDiskSpace[/b:314eeub6] is reached (or
[b:314eeub6]$<object>QueueMaxDiskSpace[/b:314eeub6] in traditional format).
I will comment out the [b:314eeub6]queue.size[/b:314eeub6] option - I
should max out my queue about 12 hours from now, so I'll know if it worked
by tomorrow.
Per the recommendation in the rsyslog log file, I'm also increasing
[b:314eeub6]queue.workerThreadMinimumMessage[/b:314eeub6] to
[b:314eeub6]5000[/b:314eeub6]:
[quote:314eeub6]
May 4 00:38:59 log-agg1 rsyslogd: [origin software="rsyslogd"
swVersion="8.7.0" x-pid="6067" x-info="http://www.rsyslog.com"] start
May 4 00:38:59 log-agg1 rsyslogd: rsyslogd's groupid changed to 104
May 4 00:38:59 log-agg1 rsyslogd: rsyslogd's userid changed to 101
May 4 00:38:59 log-agg1 rsyslogd-2357: queue "forwardRelp":
queue.workerThreadMinimumMessage is set quite low at 100. You should only
set it below 10% (5000) if you have a good reason for this. [try <!-- m
--><a class="postlink"
href="http://www.rsyslog.com/e/2357">http://www.rsyslog.com/e/2357</a><!--
m --> ]
[/quote:314eeub6]
More information about the rsyslog-notify
mailing list