Replied in-line -----Burton
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Igor Schein Sent: Saturday, February 16, 2002 9:14 AM To: [EMAIL PROTECTED] Subject: Re: [Ntop] a couple of questions <snip /> Thanks a lot for the useful tips. Now, I compiled the CVS version, and IP traffic reporting is correct now, without -j flag. If I do use -j, the data is not being collected at all. <BMS>I *think* border-sniffer-mode is still a work in progress and may be dependent upon the type of mirroring being done by a specific switch. Glad the basic update to current version solved the issue</BMS> I noticed a couple of other things. When I start ntop, it spawn 10 children right away, and then an additional child for every web connection. On a machine with 32MB of RAM, it renders a disaster. How can I prevent 10 children? The only thing I can think of is using --disable-mt during configure. I believe when I was running 2.0-stable, I had only 1 ntop process running. <BMS>ntop is really designed as a multi-threaded process. I think it might run single threaded, but performance will be a pig and you will probably lose packets, while it's doing things like name resolution. There shouldn't be any additional problem because of the multi-threaded design - it's not the # of processes sleeping that hurts you, it is not having enough memory, so that ntop is using swap space which is killing you. 32 MB is pretty tight - I find that ntop uses 4% of 128MB for a trival network. With 32MB, that's going to be a performance problem. Get more RAM is the best answer. USA prices on 128MB of RAM are around $40-50 at BestBuy and on the web (check Crucial - http://www.crucial.com/store/PartSpecs.asp?imodule=CT16M64S4D75 - for $37 premium memory, including free FedEx 2nd Day.</BMS> Also, when I sort by data in Data Sent, it doesn't get sorted properly. On contrary, in Data Rcvd everything is fine. <BMS>That's a known issue - I think Luca is working on it, as it's gotten much better in the last couple of days</BMS> I compiled with gdchart support, however it only displays chart when I'm using http connection. Through https connection, it displays an empty image instead. Is it a known issu <BMS>Don't know - I'm not running SSL - However, if you check my back posts, that (missing gdcharts) was a symptom I reported of severe memory starvation. Gdchart bombs and ntop just continues w/o the chart. I think you need to add memory. If you are so memory starved, why in the name of the great ghu are you running memory intensive things like SSL?</BMS> Does URL for mapper.pl script need to be absolute, or relative to html directory? <BMS>(An educated guess) It should be relative to ntop's "web server", which are html/... and cgi/... </BMS> Thanks Igor _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listmanager.unipi.it/mailman/listinfo/ntop
