On Wed, 2 Jan 2002, Burton M. Strauss III wrote:

> 96MB isn't a lot of memory for NTop - it takes a fair amount in the tables
> that track hosts.  I have a 5 machine home LAN and I'm using as much as 25MB
> if I'm busy doing things.  You don't indicate how many users or any
> performance indicators...

I think that that 96 Meg of RAM is enaught. I think that because NTop and
none of my other processes don't use any SWAP space.
That is memory usage without NTop:
cerber:/# free
             total       used       free     shared    buffers     cached
Mem:         95788      93676       2112      63128       5912      41056
-/+ buffers/cache:      46708      49080
Swap:       400256          0     400256

And that is memory usage just before crash:
cerber:/# free
             total       used       free     shared    buffers     cached
Mem:         95788      92848       2940      63128       7296      38316
-/+ buffers/cache:      47236      48552
Swap:       400256          0     400256


> Try running with a lower accuracy level (-A 1 or even -A 0).

Still the same problem.

> If that fails... there is *I THINK* an unchecked malloc in hash.c that
> **MIGHT** be relevant.  I haven't tested it, but in reading the code, it
> *looks* like it might miss a failed extend of the hash table and use the
> pointer anyway, at which time all bets are off.  You might TRY the following
> patch and let me know...

I've tried it. And... i have still the same problem. I don't know is it my
imagination, or something, but with that patch NTop is little more
stabble.

I have one more question:
WARNING: both Ethernet and IP addresses are NULL <- what does it mean?

And after patching NTop i have some of this:
02/Jan/2002 23:01:51 Index error idx=38 @ [pbuf.c:2655]
02/Jan/2002 23:01:51 Index error idx=47 @ [pbuf.c:2135]
02/Jan/2002 23:01:51 Index error idx=38 @ [pbuf.c:2136]
02/Jan/2002 23:01:51 Index error idx=47 @ [pbuf.c:2246]
02/Jan/2002 23:01:51 Index error idx=38 @ [pbuf.c:2247]

I have in my network 10 people, but even when i'm alone (everything else
is turned off) I can make NTop crash. For example transwering big file
(for example a movie). From the server. If you would like to you can view
my network load statistics generated by mrtg:

http://statystyki.w-sieci.eu.org/traffic/172.16.0.1.html

I have to notise that my friend have the same problem with NTop. we are
running it on similar network situation. Similar numer of users similar
network use, the same kernel versions, the same linux distributions.

---
Z powazaniem
Rafal Ramocki                   IRC: #stalowka
[EMAIL PROTECTED]   ICQ: 113472101

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop-dev

Reply via email to