The following patch fixes a memory leak in flow-cidr (flow-tools-0.68
/ Inter.netPH-1.3).
http://hhg.to/flow-cidr-memory-leak.diff
Bug description:
A memory leak occurs in the original version when filtering by src/dst
ipblock (option -i or -I) because a new patricia tree is created in
each
aspen.invision.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Jan
23 11:50:47 EST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/aspen.invision.net
amd64
)
I saw some stuff about a possible memory leak on this list from last
January - was this confirmed or has nobody had a chance to debug this
just yet
Is that huge memory usage is memory leak or I do something wrong ?
Thanks.
___
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools
-n 287 -N 0 -w
/var/log/netflows/ -S 5 /127.0.0.1/8899
Is that huge memory usage is memory leak or I do something wrong ?
There could be a 64-bit problem. Our setup has some 32-bit collectors that
feed (among other things) a 64-bit cruncher. Building out the 64-bit
cruncher lead me
Hi!
I have a server which flow-capture is set on.
Through time he strongly occupies memory.
Noticed it only on amd64
FreeBSD test.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Mon Feb 25 01:12:23 EET
2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64
/usr/local/bin/flow-capture -E60G -n287
valgrind
(http://valgrind.org/docs/manual/quick-start.html#quick-start.intro)
This _can_ detect some memory leaks.
It would be helpful if you'll use flow-tools-0.68.4
http://flow-tools.googlecode.com/files/flow-tools-0.68.4.tar.bz2
and wll include lib/ftconfig.h file (which is generated by
./configure
exhibit this issue.
If you care to look into this, I can provide access to the box in
question. If not, I'll might eventually figure it out.
I'm not at the point of caring about a memory leak. When I get there, I
can run it through valgrind.
Thanks,
Mark
On Tue, 7 Oct 2008, Paul P
[EMAIL PROTECTED] wrote on 02/28/2007 12:19:10 PM:
I was troubleshooting an unrelated problem on our netflow cruncher this
morning and discovered flow-capture chewing up RAM/Swap (to the point
where it allocated all the swap on the box and was less-than-politely
killed for doing so).
This
to their typical about 1%. The problematic flow-captures generally
were
those with the least traffic.
I've seen the CPU jumping on startup too - I've always attributed this
to normal startup tasks, since the CPU utilization settles down after
a few minutes but (at least in our case) the memory utilization
might eventually figure it out.
I'm not at the point of caring about a memory leak. When I get there, I can
run it through valgrind.
Thanks,
Mark
On Tue, 7 Oct 2008, Paul P Komkoff Jr wrote:
Replying to Mark R.:
Are there any known issues with flow-tools on 64-bit platforms? I'm
trying
-destination-address/source-tag
Kurt Roeckx (1):
Use time_t instead of u_int32 in ftfile_mkpath and ftfile_pathname
Oleg Milaenko (1):
Use temporary time_t type variables to hold time values before displaying.
Otavio R. Piske (1):
Fix memory leak in flow-export.
Paul Hampson (1
I was troubleshooting an unrelated problem on our netflow cruncher this
morning and discovered flow-capture chewing up RAM/Swap (to the point
where it allocated all the swap on the box and was less-than-politely
killed for doing so).
This is the first time I've caught flow-capture being killed
12 matches
Mail list logo