(These will be in the 16Nov2002 snapshot at http://snapshot.ntop.org or in the cvs now)
Today I committed two changes, one to address performance and one to catch the libpng version conflict. I'm putting brief write-ups here - see the commit logs on ntop-dev for more. Comments & problems to ntop lists please... Enjoy! -----Burton ===============idle host purge========================== For LARGE ntop installations, there has been a recurring problem with purge taking so long that it hangs ntop. The issue was that ntop allows up to 1/3 of the hosts to be purged in any 5m cycle and that could take 8m or longer. ntop would end up deadlocking itself. A prior change limited that purge to the smaller of 512 or 1/3 of the hosts, and provided a switch which allowed ntop to further reduce the upper (512) limit, based on how long it actually takes to purge hosts on the specific configuration. This change introduces a COMPILE TIME parameter which substantially reduces the per host purge time. ===============libpng conflict detector================= If gdchart is compiled against one major version of libpng and executed against another (1.0.x vs. 1.2.x), a run time abort() call kills the ntop web server. But that's the way the code is in those products (i.e. it's not *really* an ntop problem, but it's a problem for ntop). This is a common problem w/ RedHat as they still ship 1.0.14 of libpng, while ntop includes 1.2.4 in the ntop source tree. Others also still use the 1.0.x series. A prior fix to buildAll.sh detects the presence of and installed libpng and deletes the ntop source tree version. If you use buildAll.sh, then no problem. However, some people have their own scripts and/or are sure they're smarter than everyone else. This change introduces a gdchart watchdog that detects the failed call and returns an "error" graphic to the user (pie-error.png), as well as a log message. ======================================================== _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
