Well, actually, make it look like THIS (that should, but won't) teach me to
type on the fly)...
(release before continue, natch)
if((numLocalNets > 0)
&& (!__pseudoLocalAddress(&el->hostIpAddress, networks,
numLocalNets))) {
#ifdef CFG_MULTITHREADED
releaseMutex(&myGlobals.hostsHashMutex);
continue;
#endif
}
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Burton M. Strauss III
Sent: Wednesday, September 03, 2003 4:39 PM
To: [EMAIL PROTECTED]
Subject: RE: [Ntop-dev] **WARNING** accessMutex() called 'rrdDumpHosts'
with a self-LOCKED mutex
Oh, goodie, the message actually caught something (makes me happy I put it
in there) - there's a continue w/o the release. Make it look like this:
if((numLocalNets > 0)
&& (!__pseudoLocalAddress(&el->hostIpAddress, networks,
numLocalNets))) {
continue;
#ifdef CFG_MULTITHREADED
releaseMutex(&myGlobals.hostsHashMutex);
#endif
}
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Markus Rehbach
Sent: Wednesday, September 03, 2003 3:16 PM
To: [EMAIL PROTECTED]
Subject: [Ntop-dev] **WARNING** accessMutex() called 'rrdDumpHosts' with
a self-LOCKED mutex
Hi all,
used the cvs version fron this morning. Thanks Burton for the commits
yesterday, seems to work.
Another issue: started ntop from scratch:
ntop -n -u markus -P ~markus/ntop -A
ntop -n -u markus -P ~markus/ntop
After that I changed to the 'admin/plugin' screen and stopped the rrdPlugin,
changed to the plugin configuration screen, checked the checkbox 'hosts' and
pressed the button 'set'. After that I entered a host filter (e.g.
172.22.0.0/255.255.0.0 ;-) and started the plugin again.
After a while the
**WARNING** accessMutex() called 'rrdDumpHosts' with a self-LOCKED mutex
[EMAIL PROTECTED]:1440]
will appear and after that message no RRDatabase will be created or
actualized.
Markus
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev