Signal 10 is an unaligned move.  You need to figure out where it's
occurring.

Use gdb (instructions are in docs/FAQ - remember to use -K so ntop doesn't
fork()) to trap the failing code.

-----Burton 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick
Buraglio
Sent: Sunday, January 16, 2005 7:50 PM
To: [email protected]
Subject: [Ntop] flow collector segfault

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a freebsd 5.3 machine (9`00mhz, 512mb RAM) running ntop 3.1 (started
with  ntop -d -w 0 -W 3999 --ipv4) and it's been working wonderfully as a
flow collector / analyzer for about a week.  Recently I added 2 more virtual
interfaces (for a total of 7 plus the actual
interface) and now ntop crashes every few minutes with this error:

Jan 16 19:35:50 collector ntop[59826]:   **WARNING** Error: bad magic 
number (expected=1968/real=0) [deviceId=3]
Jan 16 19:35:50 collector ntop[59826]:   **WARNING** Error: wrong 
bucketIdx / (expected=16/real=2) [deviceId=3] Jan 16 19:35:50 collector
kernel: pid 59826 (ntop), uid 65534: exited on signal 10 Jan 16 19:35:50
collector kernel: rl0: promiscuous mode disabled

Directly above in the syslog is this:

Jan 16 19:33:52 collector ntop[59826]:   **WARNING** Address resolution 
queue is full [4096 slots]
Jan 16 19:33:52 collector ntop[59826]:   Addresses in excess won't be 
resolved - ntop continues

Is this a known issue?  Is there a fix for this?  Ideally I'd like this to
be a collector for 20+ exporters (in which case I'd probably upgrade
hardware).  Is there a limit to the number of virtual interfaces one can
have?

nb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)

iD8DBQFB6xnWFOm2Sy5bRPQRAiRVAJ4hr87OjiHrfv+/PGWrEVgmxFdqiwCfVvZO
Lrf0b+yp7q/r3bBGH7tEWQU=
=PsTY
-----END PGP SIGNATURE-----

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

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

Reply via email to