TIm you ntop code is outdated. Please use ntop 4.x Luca
On Aug 24, 2010, at 3:06 AM, Tim Miller Dyck wrote: > Hello, > > I am seeing about quite a lot of ntop Mutex()-related syslog messages (about > 10 per second) of the form: > > Aug 23 06:55:46 gw ntop[21483]: **ERROR** accessMutex() called 'rrd_last' > with an UN-INITIALIZED mutex [t140057103795984 m0x7f6 > 19b0ecae0 @rrdPlugin.c:2050] > Aug 23 06:55:46 gw ntop[21483]: **ERROR** releaseMutex() called with an > UN-INITIALIZED mutex [t140057103795984 m0x7f619b0ecae0 > @rrdPlugin.c:2059] > Aug 23 06:55:46 gw ntop[21483]: **ERROR** accessMutex() called > 'rrd_update' with an UN-INITIALIZED mutex [t140057103795984 m0x7 > f619b0ecae0 @rrdPlugin.c:2318] > Aug 23 06:55:46 gw ntop[21483]: **ERROR** releaseMutex() called with an > UN-INITIALIZED mutex [t140057103795984 m0x7f619b0ecae0 > @rrdPlugin.c:2426] > > (these four lines repeat) > > ntop is running on an Ubuntu 10.04 64-bit Server virtual machine under kvm > using the virtio network cards. I don't see this error on an otherwise > similarly setup virtual system that is running under Hyper-V, so I am > wondering if this is kvm/virtio related. > > # uname -a > Linux gw 2.6.32-24-server #39-Ubuntu SMP Wed Jul 28 06:21:40 UTC 2010 x86_64 > GNU/Linux > > # dpkg -l | grep ntop > ii ntop 3:3.3-13 > display network usage in web browser > > # dpkg -l | grep rrd > ii librrd4 1.3.8-1ubuntu1 > Time-series data storage and display system (runtime li > ii librrds-perl 1.3.8-1ubuntu1 > Time-series data storage and display system (Perl inter > ii rrdtool 1.3.8-1ubuntu1 > Time-series data storage and display system (programs) > > # lspci > 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) > 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] > 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton > II] > 00:01.2 USB Controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton > II] (rev 01) > 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03) > 00:02.0 VGA compatible controller: Cirrus Logic GD 5446 > 00:03.0 Ethernet controller: Qumranet, Inc. Virtio network device > 00:04.0 Ethernet controller: Qumranet, Inc. Virtio network device > 00:05.0 SCSI storage controller: Qumranet, Inc. Virtio block device > > I found one posting advising to run ntop with LANG=C. The Ubuntu/Debian > packages do that by default. > > from /etc/init.d/ntop: > ... > # Workaround for a rrd problem, see #471862. > export LANG=C > # end of workaround > ... > > Any ideas from anyone? > > Thanks! > > -Tim Miller Dyck > Waterloo, Ontario > Canada > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop --- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. - Brian W. Kernighan _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
