Thanks Steve-
That worked beautifully- I also needed to mod
the new apps/flowwatch.cc with your
g_packetQueue.GetLock(true);
and
g_packetQueue.ReleaseLock(true);
you should release a patch-
Chas. <c3w@ISP.NET>
ISP Networks, Inc.
-----Original Message-----
From: Steve Nunes [mailto:steve.nunes@coreexpress.net]
Sent: Monday, October 23, 2000 7:55 AM
To: cflowd@caida.org
Subject: RE: byte stats anomaly - 50MB reports for 18MB FTP transfer
Chas,
There is a race condition in the shared memory semaphore operation between
cflowdmux
and cflowd. I modified the attached files (in 2-1-a3) to get around it.
Also, in cflowd.cc, I changed the packetQueue calls to pass true as follows:
g_packetQueue.GetLock(true);
and
g_packetQueue.ReleaseLock(true);
Hope that helps
Steve
-- cflowd mailing list cflowd@caida.org
This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 11:07:48 PDT