Got it and thank you. 1 strange thing - when i use a queue in a ruleset -
impstats shows name for the queue - but it never ever shows any message
count increment.
It always shows increments only in mainQ and "imtcp(514)"; for example - i
have named the queue of my ruleset "tcp_mainq" - i see the DA queue and the
linkedlist queue - but its values never change - is that expected? I would
expect the worker threads to pick up all the messages;
Here is an example:
2021-04-11T20:13:18.082666-07:00 sidlogtest001 rsyslogd-pstats: { "name": "
*imtcp(514)*", "origin": "imtcp", "submitted": *1000000* }
2021-04-11T20:13:18.082675-07:00 sidlogtest001 rsyslogd-pstats: { "name":
"resource-usage", "origin": "impstats", "utime": 5525642, "stime": 2356213,
"maxrss": 7236, "minflt": 80055, "majflt": 0, "inblock": 0, "oublock":
1249592, "nvcsw": 21744, "nivcsw": 6 }
2021-04-11T20:13:18.082682-07:00 sidlogtest001 rsyslogd-pstats: { "name":
"impstats_001[DA]", "origin": "core.queue", "size": 0, "enqueued": 0,
"full": 0, "discarded.full": 0, "discarded.nf": 0, "maxqsize": 0 }
2021-04-11T20:13:18.082687-07:00 sidlogtest001 rsyslogd-pstats: { "name":
"impstats_001", "origin": "core.queue", "size": 9, "enqueued": 15, "full":
0, "discarded.full": 0, "discarded.nf": 0, "maxqsize": 15 }
2021-04-11T20:13:18.082692-07:00 sidlogtest001 rsyslogd-pstats: { "name":
"tcp_mainq[DA]", "origin": "core.queue", "size": 0, "enqueued": 0, "full":
0, "discarded.full": 0, "discarded.nf": 0, "maxqsize": 0 }
2021-04-11T20:13:18.082697-07:00 sidlogtest001 rsyslogd-pstats: {
"name": *"tcp_mainq",
"origin": "core.queue", "size": 0, "enqueued": 0, "full": 0,
"discarded.full": 0, "discarded.nf <http://discarded.nf>": 0, "maxqsize": 0*
}
2021-04-11T20:13:18.082702-07:00 sidlogtest001 rsyslogd-pstats: {
"name": "*main
Q*", "origin": "core.queue", "size": 0, *"enqueued": 1000000*, "full": 0,
"discarded.full": 0, "discarded.nf": 0, "maxqsize": 1348 }
_______________________________________________
rsyslog mailing list
https://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.
Re: [rsyslog] Understanding parallelism and queues
siddhartha dewan via rsyslog Sun, 11 Apr 2021 20:18:30 -0700
- [rsyslog] Understanding parallelism and queue... siddhartha dewan via rsyslog
- Re: [rsyslog] Understanding parallelism ... Yuri Bushmelev via rsyslog
- Re: [rsyslog] Understanding parallel... Mariusz Kruk via rsyslog
- Re: [rsyslog] Understanding parallelism ... Rainer Gerhards via rsyslog
- Re: [rsyslog] Understanding parallel... siddhartha dewan via rsyslog
- Re: [rsyslog] Understanding para... Rainer Gerhards via rsyslog
- Re: [rsyslog] Understanding ... siddhartha dewan via rsyslog
- Re: [rsyslog] Understan... siddhartha dewan via rsyslog

