rastream fails

Carter Bullard carter at qosient.com
Thu Jun 19 10:22:53 EDT 2014


its queuing up buffers because the consumer isn't running fast enough, or the transport path isn't adequate.  

You need to describe your setup ..
so what are you trying to do ??  how many clients ??
how many records a second are you generating?? 
is the client running properly ???  
is the processor pegged out on the clients.
loss on the link ????
that kind of thing...

> On Jun 19, 2014, at 10:09 AM, James Grace <jgrac002 at fiu.edu> wrote:
> 
> Hi Carter, 
> Thanks for all the help so far. Here are some error messages I've seen when rastream fails.  Looks like my argus server's buffer is filling up:
> 
> Jun 15 22:49:41 coralreef argus[21332]: 15 Jun 14 22:49:41.001702 ArgusNewFlow() flow key is not correct len equals zero
> 
> Jun 17 13:21:26 coralreef argus[21332]: 17 Jun 14 13:21:26.134936 ArgusWriteOutSocket(0x7fb6ae016950) max queue exceeded 100001
> 
> Jun 17 13:21:26 coralreef argus[21332]: 17 Jun 14 13:21:26.138624 ArgusWriteOutSocket(0x7fb6ae016950) max queue exceeded 100001
> 
> Jun 18 22:54:34 coralreef argus[21332]: 18 Jun 14 22:54:34.557649 ArgusWriteOutSocket(0x7fb6ac0008c0) max queue exceeded 100001
> 
> 
> 
> Any tips or tricks to keep the buffer in tact?  
> 
> 
> 
> Thanks, 
> 
> -james
> 
> 
> 
> 
> 
>> On Wed, Jun 18, 2014 at 12:20 PM, Carter Bullard <carter at qosient.com> wrote:
>> Should be something like (for bash).
>> 
>>    rastream  options > /home/flows/rastream.err 2>&1
>> 
>> The D8 maybe too much into, try D4…
>> 
>> Carter
>> 
>>> On Jun 18, 2014, at 11:29 AM, James Grace <jgrac002 at fiu.edu> wrote:
>>> 
>>> Hi Carter, 
>>> 
>>> I didn't see anything in any of my logs.  The rastream command I'm running is:
>>> 
>>> rastream -S localhost -M time 5m -w /home/flows/South/%Y/%m/%d/argus.%H.%M -D 8 2>/home/flows/rastream.err &
>>> 
>>> 
>>> 
>>> Will this capture the exceptions thrown to stderr appropriately? Or is there a more 'argus-y' way of doing this?
>>> 
>>> 
>>> 
>>> Thanks, 
>>> 
>>> -james
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> On Wed, Jun 11, 2014 at 11:24 AM, Carter Bullard <carter at qosient.com> wrote:
>>>> Hey James,
>>>> rastream doesn’t write out these types of messages, so its a little weird.
>>>> Seems like this maybe coming from the script that you’ve got rastream running ???
>>>> 
>>>> rastream will exit for all the standard reasons that a ra* program
>>>> exits for, such as the argus data source hanging up, internal
>>>> failure, or in rastream’s case, if there is a major problem forking
>>>> the script that it is suppose to run. It should generate syslog messages
>>>> to indicate any errors.  Anything in your system log ???
>>>> 
>>>> 
>>>> Carter
>>>> 
>>>>> On Jun 11, 2014, at 10:07 AM, James Grace <jgrac002 at fiu.edu> wrote:
>>>>> 
>>>>> Good morning all, 
>>>>> 
>>>>> I've been using rastream to connect to my argus client to split up traces into 5 minute interval and store them neatly.
>>>>> 
>>>>> I've been running into a problem after about 48 hours of operation where the rastream process closes. I finally ran it with -D 3 and piped the output to a file so here's the error message I'm receiving:
>>>>> 
>>>>> Write failed: Broken pipe
>>>>> 
>>>>> Time spent in user mode   (CPU seconds) : 8.348s
>>>>> 
>>>>> Time spent in kernel mode (CPU seconds) : 5.514s
>>>>> 
>>>>> Total time                              : 47:31:15.22s
>>>>> 
>>>>> CPU utilisation (percentage)            : 0.0%
>>>>> 
>>>>> Times the process was swapped           : 0
>>>>> 
>>>>> Times of major page faults              : 74
>>>>> 
>>>>> Times of minor page faults              : 1583
>>>>> 
>>>>> Exit 255
>>>>> 
>>>>> Any clues on this?
>>>>> 
>>>>> 
>>>>> 
>>>>> thanks much, 
>>>>> 
>>>>> -james
>>>>> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20140619/c4d8d813/attachment.html>


More information about the argus mailing list