Argus 3.0.6 and dnaclusters

Carter Bullard carter at qosient.com
Thu Dec 13 19:05:37 EST 2012


Hey Chris,
If its not there, I would say there is a problem.  If you run it with "-D 3" for a few packets,
where is it saying that it is ?  ArgusGetPackets ?

Carter


On Dec 13, 2012, at 7:01 PM, Chris Wakelin <c.d.wakelin at reading.ac.uk> wrote:

> That doesn't seem to make any difference, even with no traffic, or if I
> make it 5 millseconds. Perhaps it doesn't get to that point in the code?
> 
> Best Wishes,
> Chris
> 
> On 13/12/12 23:51, Carter Bullard wrote:
>> Hmmmm,
>> Well on line 3907 in ArgusSource.c, we come out of a series
>> of select() calls, and various workarounds, for various bugs, 
>> and if we don't have any packets, we set the global time and
>> continue.  We could put a nanosleep() there, to give up the
>> run queue for a little while.  I'd put it right before the getimeofday()
>> call on line 3908.  Maybe sleep for 50 uSeconds?
>> 
>> Try this patch:
>> 
>> ==== //depot/argus/argus/argus/ArgusSource.c#104 - /Volumes/Users/carter/argus/argus/argus/ArgusSource.c ====
>> 3907a3908,3910
>>>                                 struct timespec tsbuf = {0, 50000}, *ts = &tsbuf;
>>>                                 nanosleep(ts, NULL);
>>> 
>> 
>> To see if that doesn't do something?
>> 
>> Carter 
> 
> -- 
> --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
> Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
> IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
> Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20121213/d13732d7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4367 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20121213/d13732d7/attachment.bin>


More information about the argus mailing list