Hi Olivier,
ntop for FreeBSD as of today is stable for me. Could you please try
again?
Thanks, Luca
Olivier Nicole wrote:
>
> Hi,
>
> On FreeBSD 4.1, with threads, ntop core dumps with the following patterns:
>
> 1) when displaying on web the page about one specific host:
>
> 0 0x280a2f02 in printHostEvents () at report.c:2805
> #1 0x280a7bef in printHostTrafficStats () at reportUtils.c:1581
> #2 0x2809adea in printAllSessionsHTML () at report.c:710
> #3 0x28096642 in returnHTTPPage (pageName=0xbfa87c4d "203.159.25.52",
> postLen=-1) at http.c:997
> #4 0x28096ba6 in handleHTTPrequest () at http.c:1167
> #5 0x280adbed in handleSingleWebConnection () at webInterface.c:531
> #6 0x280ad912 in handleWebConnections () at webInterface.c:531
> #7 0x285c4683 in _thread_start () from /usr/lib/libc_r.so.4
> #8 0x0 in ?? ()
>
> I added a return at the very first line of printHostEvents and it works fine.
>
> 2) when displaying the page stats>throughput (and others):
>
> #0 0x8058acd in out_graph (GIFWIDTH=10248, GIFHEIGHT=20736,
> gif_fptr=0x286531e0, type=GDC_3DBAR, num_points=9, xlbl=0xbfa8728c,
> num_sets=1) at gdchart.c:261
> #1 0x28093a81 in drawGlobalProtoDistribution () at graph.c:636
> #2 0x280960c7 in returnHTTPPage (
> pageName=0xbfa87c4d "drawGlobalProtoDistribution.gif", postLen=-1)
> at http.c:904
> #3 0x28096b66 in handleHTTPrequest () at http.c:1167
> #4 0x280ad521 in handleSingleWebConnection () at webInterface.c:531
> #5 0x280ad246 in handleWebConnections () at webInterface.c:531
> #6 0x285c3683 in _thread_start () from /usr/lib/libc_r.so.4
> #7 0x0 in ?? ()
>
> note the HUGE gif size (200MB, twice my RAM), it may be the
> problem. Got a singal 11, I found that problem (sig 11) before when
> handling a big gif with ghostscript.
>
> I renamed the function out_graph, created one that is empty (return 0)
> and it works (but no display of course.
>
> 3) from time to time, when displkaying a page while the previous is
> still loading:
>
> #0 0x2861ae2f in sendto () from /usr/lib/libc_r.so.4
> #1 0x286198ef in send () from /usr/lib/libc_r.so.4
> #2 0x28094579 in sendStringLen () at http.c:236
> #3 0x28094612 in sendString () at http.c:236
> #4 0x28096a22 in returnHTTPnotImplemented () at http.c:1161
> #5 0x28096aeb in handleHTTPrequest () at http.c:1167
> #6 0x280ad521 in handleSingleWebConnection () at webInterface.c:531
> #7 0x280ad246 in handleWebConnections () at webInterface.c:531
> #8 0x285c3683 in _thread_start () from /usr/lib/libc_r.so.4
> #9 0x0 in ?? ()
>
> I need to look at this one.
>
> I have never worked with threads before, if someone can give me a hint
> on how to debug those, it would be fine, I tried to set break point
> with gdb, but it will not allow them as it is in a separate thread.
>
> 4) eventually, stats>traffic does not display the global protocol and
> global ip protocol graphs.
>
> Olivier
--
Luca Deri Finsiel S.p.A.
Via Matteucci 34/B 56124 Pisa, Italy.
Ph. +39/050/968.639 Fax. +39/050/968.626
Email: [EMAIL PROTECTED] WWW: http://www.tlcpi.finsiel.it/~deri/
ICQ: 68183632
Software is about stuff, about getting hands dirty - Jim Coplien