The problem seems to be releated to the number of hosts?  I'm assuming 
this because the following info show hash.c to be a problem.

Any ideas on how to fix?  I'm going to try the CVS dated 9-9-02 in the 
next day or two.



***********
1.  The web page version of ntop seems to lockup after running for a 
while.  I think it is still
processing items because the browser will continue to spin (not give a 
refused connection message).
2. /usr/local/bin/ntop -P/home/ntop -untop -d -M -K 
-ieth0,eth1,eth2,eth3 -wxxx.xxx.xxx.xxx:3000 -L -S 1
     The xxx.xxx.xxx.xxx is the IP address of eth0

/var/log/messages****
Sep  9 12:29:50 ntop ntop[10122]: Extending hash size 
[newSize=8192][deviceId=1]
Sep  9 12:30:00 ntop CROND[10143]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:30:00 ntop CROND[10144]: (root) CMD (/usr/local/bin/checkntop)
Sep  9 12:31:00 ntop CROND[10150]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:32:00 ntop CROND[10154]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:33:00 ntop CROND[10158]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:33:40 ntop ntop[10124]: Extending hash size 
[newSize=4096][deviceId=3]
Sep  9 12:33:56 ntop ntop[10123]: Extending hash size 
[newSize=8192][deviceId=2]
Sep  9 12:34:00 ntop CROND[10162]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:35:00 ntop CROND[10167]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:35:00 ntop CROND[10168]: (root) CMD (/usr/local/bin/checkntop)
Sep  9 12:36:01 ntop CROND[10174]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:36:51 ntop ntop[10117]: WARNING: free of NULL pointer @ hash.c:272
Sep  9 12:36:51 ntop ntop[10117]: ntop caught signal 11
Sep  9 12:36:51 ntop ntop[10117]:    *****ntop error: Signal(11)
Sep  9 12:36:51 ntop ntop[10117]:       backtrace is:
Sep  9 12:36:51 ntop ntop[10117]:            1. /lib/libpthread.so.0 
[0x4c55bb]
Sep  9 12:36:51 ntop ntop[10117]:            2. /lib/libc.so.6 [0x528478]
Sep  9 12:36:51 ntop ntop[10117]:            3. 
/lib/libc.so.6(__libc_free+0xc4) [0x57abf4]
Sep  9 12:36:51 ntop ntop[10117]:            4. 
/usr/local/lib/libntop-2.1.so.2(ntop_safefree+0x50) [0x265590]
Sep  9 12:36:51 ntop ntop[10117]:            5. 
/usr/local/lib/libntop-2.1.so.2(freeHostInfo+0x469) [0x260b39]
Sep  9 12:36:51 ntop ntop[10117]:            6. 
/usr/local/lib/libntop-2.1.so.2(purgeIdleHosts+0x309) [0x261219]
Sep  9 12:36:51 ntop ntop[10117]:            7. 
/usr/local/lib/libntop-2.1.so.2(scanIdleLoop+0x69) [0x267469]
Sep  9 12:36:51 ntop ntop[10117]:            8. /lib/libpthread.so.0 
[0x4c20ce]
Sep  9 12:36:51 ntop ntop[10117]:            9. 
/lib/libc.so.6(__clone+0x3a) [0x5e973a]
Sep  9 12:36:51 ntop ntop[10117]: Cleaning up...
Sep  9 12:36:51 ntop ntop[10117]: Waiting until threads terminate...
Sep  9 12:36:54 ntop ntop[10117]: Freeing hash host instances... (4 
device(s) to save)
Sep  9 12:37:00 ntop CROND[10178]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:38:00 ntop CROND[10182]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:39:00 ntop CROND[10186]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:40:00 ntop CROND[10191]: (root) CMD ( 
/usr/share/msec/promisc_check.sh)
Sep  9 12:40:00 ntop CROND[10194]: (root) CMD (/usr/local/bin/checkntop)


3.ntop 2.1.2 complied from source
uname -s output:
Linux ntop.armstrong.edu 2.4.18-6mdksecure #1 SMP Fri Mar 15 01:57:24 
CET 2002 i686 unknown

[root@ntop log]# gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs
gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)

Will this work for the glibc version?
[root@ntop log]# ldconfig -v | grep glib
         libglib-1.2.so.0 -> libglib-1.2.so.0.0.10
[root@ntop log]# ldconfig -v | grep libc
         libc.so.6 -> libc-2.2.4.so
         libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so

4.  Compaq deskpro pentium2 350 single processor with 392 megs ram
     4 network cards SMC 10/100  monitoring 3 interfaces 1 interface is 
for web server

5. All interfaces are public
    All interfaces are 100 meg (eth1,eth2 have 10 meg bandwidth limit)
    roughly a couple thousand computers (estimate).  I do no filitering 
so anyone who connects to campus will show-up.

***************

Thanks wes

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

Reply via email to