On Thu, Jan 16, 2014 at 5:21 PM, Boylan, James <james.boy...@orbitz.com>wrote:

> The only way I know of doing it is by creating a new ruleset and defining
> a queue for it. Ie:
>
> ruleset(name="SysLogs "
>         queue.type="FixedArray"
>         queue.size="1000000"
>         queue.dequeuebatchsize="1000"
>         queue.workerthreads="4") {
>
> ## Ruleset contents
>
> }
>
> I'm not sure there is an alternative to $MainMsgQueueSize and
> $MainMsgQueueDequeueBatchSize for adjusting the primary Main Message Queue.
>
>
It's the new main_queue() object, specifically introduced for this purpose.
But it requires 7.5.3+:

http://www.rsyslog.com/doc/rainerscript.html

Sample on page.
HTH
Rainer


> -- James
>
> -----Original Message-----
> From: rsyslog-boun...@lists.adiscon.com [mailto:
> rsyslog-boun...@lists.adiscon.com] On Behalf Of Radu Gheorghe
> Sent: Thursday, January 16, 2014 9:40 AM
> To: rsyslog-users
> Subject: [rsyslog] Main queue settings in new format?
>
> Hi,
>
> I know this has been discussed and is documented somewhere, but I just
> can't find where. And it hurts my OCD badly: how do I do this
>
> $MainMsgQueueSize 1000000
> $MainMsgQueueDequeueBatchSize 1000
>
> in the new configuration format?
>
> Thanks in advance!
> _______________________________________________
> 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.
>
_______________________________________________
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.

Reply via email to