Re: [pmacct-discussion] sql_dont_try_update causes key collisions?

2017-03-06 Thread Karl O. Pinc
On Mon, 6 Mar 2017 17:48:24 -0600 Edward Henigin wrote: > And as far as updating docs, I might suggest adding to the > sql_dont_try_update key the fact that the sql_cache_entries needs to > be large enough to prevent multiple purges per update cycle :-) Last I looked the docs were on a wiki, so

Re: [pmacct-discussion] sql_dont_try_update causes key collisions?

2017-03-06 Thread Edward Henigin
Paolo, I assume also that the "aggregates to the backend" could be much smaller than the "aggregates in memory" when there is a sql_preprocess in place to filter (e.g. minb) inserts? And as far as updating docs, I might suggest adding to the sql_dont_try_update key the fact that the sql_cache_ent

Re: [pmacct-discussion] sql_dont_try_update causes key collisions?

2017-03-06 Thread Paolo Lucente
Hi Ed, I should maybe add some documentation in this sense. QN reads as the Query Number, the amount of queries (read aggregates) to be processed. The two numbers you see are respectively: the amount of aggregates that actually made it to the backend and the total amount of aggregates in memory

Re: [pmacct-discussion] Failing to compile amqp

2017-03-06 Thread Paolo Lucente
Hi Ben, Thanks very much for reporting the issue :) It's now fixed: https://github.com/pmacct/pmacct/commit/89da3e2312660f60b9c2dca20c6d60c1156e36d8 Cheers, Paolo On Mon, Mar 06, 2017 at 08:42:27PM +, Ben Wilson wrote: > Hi, > > > I'm trying to build with rabbitmq support, but it's compl

[pmacct-discussion] Failing to compile amqp

2017-03-06 Thread Ben Wilson
Hi, I'm trying to build with rabbitmq support, but it's complaining about kafka o_O $ git clone https://github.com/pmacct/pmacct.git $ cd pmacct $ ./autogen.sh $ ./configure --enable-rabbitmq --enable-jansson $ make ... CC libdaemons_la-amqp_plugin.lo amqp_plugin.c: In function '