OK - got tired of messing with this.  Even with 768MB installed, when I
would try to add the 14th netflow device it would freak out.  The web
page would say something like "Unable to create device" and the log
would say malloc error.  I'd go back to configure the netflow plugin and
it would say I must activate it first - although netstat -an showed all
configured netflow devices listening and memory util was high enough
that I'm sure the plugin WAS active.  After many many failed restarts I
finally had to edit the prefsCache using the GUI and remove a couple
ntop devices so the [EMAIL PROTECTED] thing would start!  The weird thing is it 
looks
like it would only grab bunches of memory on initialization.  Once
running 13 devices were using around 400-450MB of RAM - I still had
250+MB available

I ended up having to create (2) instances.  The first one has (4)
netflow devices and is using about 305MB and the other has (8) and is
using 320MB.  Both instances seem to be running OK so I guess we'll
see...  I have a feeling once I start sending flows I'm gonna run out of
memory pretty quick.

Gary




-----Original Message-----
From: Gary Gatten 
Sent: Monday, October 08, 2007 1:20 PM
To: '[email protected]'
Subject: Interfaces - Memory Allocation / requirements - netflow memory

Would it be possible to change the memory required / allocated for
interfaces - or other nTop structures?

I'm using netflow and for reasons I won't go into in this thread I have
about 16 netflow devices (interfaces) configured - at least that's what
I'm trying to do.  I started out with 384MB of RAM and now have 640MB.
When I activate the netflow plugin it starts allocating memory until it
runs out and blows up with malloc erros.  Sometimes nTop dies and other
times it seems OK, but the netflow plugin never works right.

Why is this using so much RAM?  Even with each interface using 16MB of
RAM that's only 256MB total plus whatever the other structures need.

The machine I'm using is an old PIII-750 that uses PC100 DIMMS.
Unfortunately it only has (3) banks and I only have 256MB DIMMS laying
around.  I'll load them all and hopefully 768MB will be enough - just
seems like it should need this much memory

Gary

BTW: This is 3.2.something on FreeBSD 6.1.something.


===========================================================================





"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to