Re: [pmacct-discussion] pmacct max active plugins

2017-02-07 Thread Abi Askushi
Hi Paolo,

Thank you for the swift response.
I will recompile with the new limit and will check.

I hit the limit as I have a new device testing pmacct with more network
ports (8 NICs) and I need to do IP, port and protocol accounting for all
internal networks for traffic going to/from each WAN, including the
direction of traffic. Usually I will have 3 internal networks and 2 or 3
different WAN interfaces. Thus I have added several mysql plugins and
aggregation filters to split and analyse traffic for all these networks to
be able to have some aggregated reports for the interesting ports (I wanted
to avoid having reports for the random source ports and had to find a way
to show only the interesting ports).

Thanx,
Alex



On Mon, Feb 6, 2017 at 12:53 PM, Paolo Lucente  wrote:

>
> Hi Alex,
>
> Yes, that is OK. See also the thread here:
>
> https://github.com/pmacct/pmacct/issues/63
>
> It would be great to know also your use-case for instantiating more than
> 32 plugins. Keep me posted if it works.
>
> Paolo
>
> On Mon, Feb 06, 2017 at 11:53:18AM +0200, Abi Askushi wrote:
> > HI All,
> >
> > I was trying to start monitoring on several network ports and I received
> > the following:
> >
> > Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> > child PID 29390
> > Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> > child PID 29391
> > Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> > child PID 29392
> > Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> > child PID 29393
> > Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> > child PID 29394
> > Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> > child PID 29395
> >
> > It seems that I hit a hard limit.
> >
> > checking the code I see the following variable defined at:
> > /usr/src/pmacct/src/pmacct-defines.h
> > MAX_N_PLUGINS 32
> >
> > Is it ok to increase it?
> >
> > Thanx,
> > Alex
>
> > ___
> > pmacct-discussion mailing list
> > http://www.pmacct.net/#mailinglists
>
>
> ___
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists
>
___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Re: [pmacct-discussion] pmacct max active plugins

2017-02-06 Thread Paolo Lucente

Hi Alex,

Yes, that is OK. See also the thread here:

https://github.com/pmacct/pmacct/issues/63

It would be great to know also your use-case for instantiating more than
32 plugins. Keep me posted if it works.

Paolo

On Mon, Feb 06, 2017 at 11:53:18AM +0200, Abi Askushi wrote:
> HI All,
> 
> I was trying to start monitoring on several network ports and I received
> the following:
> 
> Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> child PID 29390
> Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> child PID 29391
> Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> child PID 29392
> Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> child PID 29393
> Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> child PID 29394
> Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
> child PID 29395
> 
> It seems that I hit a hard limit.
> 
> checking the code I see the following variable defined at:
> /usr/src/pmacct/src/pmacct-defines.h
> MAX_N_PLUGINS 32
> 
> Is it ok to increase it?
> 
> Thanx,
> Alex

> ___
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists


___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists


[pmacct-discussion] pmacct max active plugins

2017-02-06 Thread Abi Askushi
HI All,

I was trying to start monitoring on several network ports and I received
the following:

Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
child PID 29390
Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
child PID 29391
Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
child PID 29392
Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
child PID 29393
Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
child PID 29394
Jan 27 16:05:30 WARN ( default/core ): Abnormal exit status detected for
child PID 29395

It seems that I hit a hard limit.

checking the code I see the following variable defined at:
/usr/src/pmacct/src/pmacct-defines.h
MAX_N_PLUGINS 32

Is it ok to increase it?

Thanx,
Alex
___
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists