From owner-freebsd-questions Thu Nov 16 15:41:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pericles.IPAustralia.gov.au (pericles.IPAustralia.gov.au [202.14.186.30]) by hub.freebsd.org (Postfix) with ESMTP id 076A637B4C5 for ; Thu, 16 Nov 2000 15:41:47 -0800 (PST) Received: (from smap@localhost) by pericles.IPAustralia.gov.au (8.9.3/8.9.3) id KAA98463; Fri, 17 Nov 2000 10:40:20 +1100 (EST) (envelope-from anwsmh@IPAustralia.Gov.AU) Received: from disc-4-161.aipo.gov.au(10.0.4.161) by pericles.IPAustralia.gov.au via smap (V2.0) id xma098454; Fri, 17 Nov 00 10:40:12 +1100 Received: from localhost (anwsmh@localhost) by stan.aipo.gov.au (8.9.3/8.9.3) with ESMTP id KAA01402; Fri, 17 Nov 2000 10:40:02 +1100 (EST) (envelope-from anwsmh@IPAustralia.Gov.AU) X-Authentication-Warning: stan.aipo.gov.au: anwsmh owned process doing -bs Date: Fri, 17 Nov 2000 10:40:00 +1100 (EST) From: Stanley Hopcroft X-Sender: anwsmh@stan.aipo.gov.au To: Alexander Leidinger Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: ntop, worlds greatest network monitor, no go on FreeBSD In-Reply-To: <200011161330.eAGDUH543924@Magelan.Leidinger.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Sir, I am writing to thank you for your reply and say that I will be very pleased to retry ntop on a later version of FreeBSD. On Thu, 16 Nov 2000, Alexander Leidinger wrote: > > behaviour as the later version. > > There where some pthread commits (bugfixes) to FreeBSD (-current and > 4.x) recently. Perhaps you should test it on a more recent -current or > -stable (e.g. 4.2-beta). > > Bye, > Alexander. > > -- > Failure is not an option. It comes bundled with your Microsoft product. > However, another ntop FreeBSD user, Nicolai Petri, has written that " I've investigated this also, and my conclusion is that -pthread and no -lc_r parameter is correct. The test is to try 'nm .lib/ntop' to see if libc or libc_r is used.. I've noticed that sometimes both are listed as a dependencies and that is a real problem.. But still after tampering with this it still crashes hard.. When using the never version of gd/gdchart I limited the crashes to multiple simultanous reloads of the webpages (hold down the reload button). The problem is most likely in the FreeBSD socket code, but even when putting mutexes around the tcp code it still crashes, but it's much harder to provoke. Another thing I noticed is that 'strtok()' is used in pbuf.. Could that be a problem.. All other places the reentrant function is used. " In my utter ignorance I can only say there may be some code problems in ntop and that the FreeBSD socket calls may have thread problems ... Thank you. Yours sincerely, S Hopcroft Network Specialist IP Australia +61 2 6283 3189 +61 2 6281 1353 FAX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message