Hi,
I'm trying to limit the amount of memory rsyslog will use for queuing.
All the other queues besides the main queue are direct.

The settings related to this are:
* queue.size -> This is the maximum size of the queue in number of messages. [1]
* $MaxMessageSize -> allows to specify maximum supported message size [2]

I'm assuming that queue.size * $MaxMessageSize = RAM queuing limit.

Example:
$MaxMessageSize 8k
queue.size="1000"

Am expecting that wont consume more then ~8kB (it might be ie. 12mB
but wont ever be 50mB) of ram for queuing.


Is this the correct interpretation?

Be Well,
Alan


[1] 
https://www.rsyslog.com/doc/v8-stable/rainerscript/queue_parameters.html#queue-dequeuebatchsize
[2] https://www.rsyslog.com/doc/v8-stable/configuration/global/index.html
_______________________________________________
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