[pmacct-discussion] Strange SQL-Error

2009-04-13 Thread Johannes Formann
Hello, I'll get this kind of error: Apr 13 15:27:15 server pmacctd[1341]: ERROR ( default/mysql ): Duplicate entry '0-00:1c:c0:74:5b:e9-00:00:0c:07:ac:6a-0-84.38.64.216-79.221.203.' for key 1 Apr 13 15:27:15 server kernel: pmacctd[1341]: segfault at f7002991 ip f7bfa9ca sp

Re: [pmacct-discussion] Strange SQL-Error

2009-04-13 Thread Johannes Formann
Hello, I'll get this kind of error: Apr 13 15:27:15 server pmacctd[1341]: ERROR ( default/mysql ): Duplicate entry '0-00:1c:c0:74:5b:e9-00:00:0c:07:ac:6a-0-84.38.64.216-79.221.203.' for key 1 I get this as well. It means that the primary key is not long enough to make the records

Re: [pmacct-discussion] Strange SQL-Error

2009-04-13 Thread Johannes Formann
Chris Wilson ch...@aptivate.org wrote: On Mon, 13 Apr 2009, Johannes Formann wrote: Hi Chris, Apr 13 15:27:15 server kernel: pmacctd[1341]: segfault at f7002991 ip f7bfa9ca sp ffb88334 error 4 in libpthread-2.3.6.so[f7bf2000+e000] I think I got it (using a written

Re: [pmacct-discussion] Strange SQL-Error

2009-04-13 Thread Johannes Formann
Johannes Formann mlm...@formann.de wrote: Hello, I'll get this kind of error: Apr 13 15:27:15 server pmacctd[1341]: ERROR ( default/mysql ): Duplicate entry '0-00:1c:c0:74:5b:e9-00:00:0c:07:ac:6a-0-84.38.64.216-79.221.203.' for key 1 Apr 13 15:27:15 server kernel: pmacctd[1341]: segfault

Re: [pmacct-discussion] Strange SQL-Error

2009-04-13 Thread Johannes Formann
Johannes Formann mlm...@formann.de wrote: Hi Chris, Apr 13 17:20:01 server1 pmacctd[12419]: ERROR ( default/mysql ): Duplicate entry '0-00:1b:8f:61:55:c9-00:1c:c0:ab:8a:48-0-91.22.172.35-84.38.74.24' for key 1 As this crash is so early, perhaps the thread isn't initialised properly

Re: [pmacct-discussion] Strange SQL-Error

2009-04-13 Thread Johannes Formann
Paolo Lucente pa...@pmacct.net wrote: Hi Paolo, * The SEGV appears to be in a pthread_getspecific() call while the MySQL plugin does not do any pthread-related call. Also a simple inet_ntoa() should not do that. Did you by any chance compile the package with the --enable-threads

[pmacct-discussion] Trouble with average packetsize

2014-02-25 Thread Johannes Formann
Hello, I try to run pmacct on a debian 7 box. Basically everything runs fine, except sometimes pmacctd mud miscount the traffic, since the average packetize goes over 1500 (latest size observed about 7.000) wich is not possible (MTU-Limit of 1500 bytes). Same problem with the debian packages

Re: [pmacct-discussion] Trouble with average packetsize

2014-02-26 Thread Johannes Formann
, 2014 at 11:46:31PM +0100, Johannes Formann wrote: Hello, I try to run pmacct on a debian 7 box. Basically everything runs fine, except sometimes pmacctd mud miscount the traffic, since the average packetize goes over 1500 (latest size observed about 7.000) wich is not possible (MTU-Limit

Re: [pmacct-discussion] Trouble with average packetsize

2014-03-06 Thread Johannes Formann
them to the operating system… The following commands disable these functions, and after that the results are reasonable again. /sbin/ethtool -K eth0 tso off /sbin/ethtool -K eth0 gso off /sbin/ethtool -K eth0 gro off cheers Johannes Am 26.02.2014 um 20:25 schrieb Johannes Formann mlm

[pmacct-discussion] a single aggregate misses almost all traffic

2014-04-08 Thread Johannes Formann
Hi, I have a strange problem again. I already tested the newest CVS version but it persists: I use four aggregates: - inbound: incoming traffic for local IPs - outbound: outgoing traffic for local ips - TMPflowSRC: short time local outgoing udp traffic (with a short port list) - TMPflowDST:

Re: [pmacct-discussion] Questions regarding tcpflags

2015-07-21 Thread Johannes Formann
and forensics - and hence i'm open to feedback. Cheers, Paolo On Mon, Jul 20, 2015 at 09:54:51PM +0200, Johannes Formann wrote: Hi, I have a question: how are the different Flags stored in the tcp_flags column of the mysql-Database (int(4))? The common mapping (SYN=2, ACK=16) doesn’t