FreeBSD ... That's the problem. Understand - if you've read the back traffic - that the BSDs have a very different implementation of the threads library than Linux/Solaris/Win32. Not wrong, just different. Which has a lot of issues/implications for multi-threaded programs. Not just ntop - you'll see these kinds of issues for many other projects.
Anyway, there was a patch posted - check the back traffic - which reverts from pcap_dispatch to pcap_loop for FreeBSD. Apply it. If you can't find it in the back traffic, pull it out of the cvs: cvs diff -U3 -r 2.165 -r 2.166 ntop.c -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Teege Sent: Monday, February 21, 2005 5:57 AM To: [email protected] Subject: [Ntop] ntop unstable on FreeBSD 4.x Moin, I've setup ntop 3.1 on a FreeBSD 4.10 box. I run it with "-d -L --set-pcap-nonblocking --skip-version-check -i dc0,dc1,dc2" Ntop starts an collecting some data but after some minutes I've got errors loke this. Feb 21 12:55:05 bullet ntop[74040]: **ERROR** Reading packets on device 0 (dc0): 'read: No child processes' Feb 21 12:55:05 bullet ntop[74040]: THREADMGMT: pcapDispatch thread terminated... Feb 21 12:57:36 bullet ntop[74040]: **ERROR** Reading packets on device 2 (dc2): 'read: No child processes' Feb 21 12:57:36 bullet ntop[74040]: THREADMGMT: pcapDispatch thread terminated... Feb 21 13:03:22 bullet ntop[74040]: **ERROR** Reading packets on device 1 (dc1): 'read: No child processes' Feb 21 13:03:22 bullet ntop[74040]: THREADMGMT: pcapDispatch thread terminated... What maybe the problem? Matthias -- make world not war _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
