OK, I now know what's going on. Will post to the bug tracker.
On Tue, Jun 25, 2013 at 6:59 PM, Philippe Muller <[email protected]>wrote: > Here is the full debug log, using the configuration example I gave in my > first e-mail : http://dl.free.fr/oU1IyTMcN > > Philippe Muller > > > On Mon, Jun 24, 2013 at 10:59 AM, Rainer Gerhards > <[email protected]>wrote: > > > On Fri, Jun 21, 2013 at 10:46 AM, Philippe Muller < > > [email protected] > > > wrote: > > > > > Any news on this ? > > > > > > > > sorry, slowly getting to speed again after I have finished most of the > > changes I wanted to do to librelp. > > > > Could you email me (privately?) a complete debug log from the startup of > > the instance in question? > > > > Thanks, > > Rainer > > > > > Thanks. > > > > > > Philippe Muller > > > > > > > > > On Wed, Jun 5, 2013 at 4:56 PM, Rainer Gerhards < > > [email protected] > > > >wrote: > > > > > > > Expect at latest next week some better replies - busy with 7.4... > > > > > > > > Sent from phone, thus brief. > > > > Am 04.06.2013 14:02 schrieb "Philippe Muller" < > > [email protected] > > > >: > > > > > > > > > Could it be linked to > > http://bugzilla.adiscon.com/show_bug.cgi?id=443? > > > > > > > > > > Philippe Muller > > > > > > > > > > > > > > > On Mon, Jun 3, 2013 at 4:41 PM, Philippe Muller > > > > > <[email protected]>wrote: > > > > > > > > > > > Hello, > > > > > > > > > > > > I recently noticed that I don't have impstats metrics for my > > rulesets > > > > > main > > > > > > queues. Counters are always 0. > > > > > > > > > > > > > > > > > > So I tested with this configuration snippet : > > > > > > --- > > > > > > module(load="impstats" interval="1") > > > > > > > > > > > > ruleset(name="foo" queue.type="LinkedList" queue.size="500000") { > > > > > > action(type="omfwd" protocol="tcp" target="1.1.1.1") > > > > > > } > > > > > > > > > > > > action(type="omfile" file="/tmp/log") > > > > > > > > > > > > call foo > > > > > > --- > > > > > > > > > > > > Using this configuration I get these messages in the debug log : > > > > > > --- > > > > > > 7651.521245000:2ba0dabd2b80: foo: is NOT disk-assisted > > > > > > 7651.521250000:2ba0dabd2b80: foo: type 1, enq-only 0, disk > assisted > > > 0, > > > > > > maxFileSz 16777216, lqsize 0, pqsize 0, child 0, full delay > 485000, > > > > light > > > > > > delay 350000, deq batch size 1024 starting > > > > > > 7651.521254000:2ba0dabd2b80: foo:Reg: finalizing construction of > > > worker > > > > > > thread pool > > > > > > 7651.521267000:2ba0dabd2b80: foo:Reg/w0: finalizing construction > of > > > > > worker > > > > > > instance data > > > > > > 7651.521290000:2ba0dabd2b80: foo: queue finished initialization > > > > > > --- > > > > > > > > > > > > And /tmp/log : > > > > > > --- > > > > > > # tail /tmp/log > > > > > > 2013-06-03T16:01:49.273131+02:00 rsyslog-client-rhel5u4 rsyslogd: > > > > [origin > > > > > > software="rsyslogd" swVersion="7.2.6" x-pid="16635" x-info=" > > > > > > http://www.rsyslog.com"] start > > > > > > 2013-06-03T16:01:50.273685+02:00 rsyslog-client-rhel5u4 > > > > rsyslogd-pstats: > > > > > > action 1: processed=0 failed=0 > > > > > > 2013-06-03T16:01:50.273723+02:00 rsyslog-client-rhel5u4 > > > > rsyslogd-pstats: > > > > > > foo: size=0 enqueued=0 full=0 discarded.full=0 discarded.nf=0 > > > > maxqsize=0 > > > > > > 2013-06-03T16:01:50.273735+02:00 rsyslog-client-rhel5u4 > > > > rsyslogd-pstats: > > > > > > action 2: processed=1 failed=0 > > > > > > 2013-06-03T16:01:50.273758+02:00 rsyslog-client-rhel5u4 > > > > rsyslogd-pstats: > > > > > > main Q: size=3 enqueued=4 full=0 discarded.full=0 discarded.nf=0 > > > > > > maxqsize=3 > > > > > > 2013-06-03T16:01:51.273687+02:00 rsyslog-client-rhel5u4 > > > > rsyslogd-pstats: > > > > > > action 1: processed=0 failed=0 > > > > > > 2013-06-03T16:01:51.273728+02:00 rsyslog-client-rhel5u4 > > > > rsyslogd-pstats: > > > > > > foo: size=0 enqueued=0 full=0 discarded.full=0 discarded.nf=0 > > > > maxqsize=0 > > > > > > 2013-06-03T16:01:51.273745+02:00 rsyslog-client-rhel5u4 > > > > rsyslogd-pstats: > > > > > > action 2: processed=5 failed=0 > > > > > > 2013-06-03T16:01:51.273759+02:00 rsyslog-client-rhel5u4 > > > > rsyslogd-pstats: > > > > > > main Q: size=3 enqueued=8 full=0 discarded.full=0 discarded.nf=0 > > > > > > maxqsize=4 > > > > > > 2013-06-03T16:01:51.500417+02:00 rsyslog-client-rhel5u4 rsyslogd: > > > > [origin > > > > > > software="rsyslogd" swVersion="7.2.6" x-pid="16635" x-info=" > > > > > > http://www.rsyslog.com"] exiting on signal 2. > > > > > > --- > > > > > > > > > > > > I believe "type 1" is a LinkedList. But the ruleset behaves like > if > > > it > > > > > had > > > > > > a Direct queue : > > > > > > - Messages are not written to /tmp/log. > > > > > > - If I add queue.timeoutenqueue="0" to the ruleset, messages are > > > > written > > > > > > to /tmp/log. > > > > > > > > > > > > I expect that behavior with a Direct queue, not with a LinkedList > > > one. > > > > > > > > > > > > Is it just an issue with the queue counters reporting, or is it > > > > possible > > > > > > that my ruleset don't have LinkedList queues ? Something else I > > don't > > > > > > understand ? > > > > > > > > > > > > Note: In the logs, it is written 7.2.6, but it is rsyslog branch > > c7. > > > > > > > > > > > > > > > > > > Thanks for your help. > > > > > > > > > > > > Regards, > > > > > > > > > > > > Philippe > > > > > > > > > > > _______________________________________________ > > > > > 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. > > > > > _______________________________________________ > > 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.

