ra not reading a 1GB radium.out file

Monah Baki monahbaki at gmail.com
Sun Oct 7 10:26:30 EDT 2018


Hi Carter,

I used the following command "rastream -r radium.out -M time 30m -w
%Y/%m/%d/radium.%Y.%m.%d.%H.%M.%S" per the example, but the radium.out file
is still at 1Gb plus, due to disk space in /var/log, I need to 0 radium.out
and have it start all over again

Thanks
Monah

On Sun, Oct 7, 2018 at 10:02 AM Carter Bullard <carter at qosient.com> wrote:

> Hey Monah,
> You want to use rastream.1.   Have it connect to radium to write out the
> files, don’t have radium do that.  Think of radium as an argus record
> distribution node.  Have rastream.1 split on time, not on size, as that
> organizes the data in a more natural scope.  But if that is not possible,
> rastream.1 can easily split based on file size, and after the file is
> closed, it will run a script against the file.  Checkout the man page for
> rastream.
>
> Carter
> [image: QoSient] <http://qosient.com>
> Carter Bullard <carter at qosient.com> • CTO
> 150 E 57th Street, Suite 12D
> New York, New York 10022-2795
> Phone +1.212.588.9133 • Mobile +1.917.497.9494
>
>
>
> On Oct 7, 2018, at 9:57 AM, Monah Baki <monahbaki at gmail.com> wrote:
>
> Thanks Carter I was able to break it up. Question though, is there a file
> somewhere where I can configure to say after every 10M of radium.out size
> tar and start collecting logs from the start.
>
>
> Thanks
> Monah
>
> On Sun, Oct 7, 2018 at 9:13 AM Carter Bullard <carter at qosient.com> wrote:
>
>> Hey Monah,
>> Look at your system log and your system configuration.  The log should
>> have some explanation, such as system file size exceeded. The size of the
>> file is close to 0x3D000000.  This isn’t particularly magical to me, but
>> seems like a curious binary number, so its magical for your machine.
>>  32-bit Linux … Windows???
>>
>> If there are hard limits on file size, rasplit.1 is designed to handle
>> this.  I would suggest using rasplit.1 to create smaller files, say 5min
>> files, so you can avoid this type of problem.
>>
>> Carter
>> [image: QoSient] <http://qosient.com/>
>> Carter Bullard <carter at qosient.com> • CTO
>> 150 E 57th Street, Suite 12D
>> New York, New York 10022-2795
>> Phone +1.212.588.9133 • Mobile +1.917.497.9494
>>
>>
>>
>> On Oct 5, 2018, at 1:42 PM, Monah Baki <monahbaki at gmail.com> wrote:
>>
>> -rw-------.  1 root    root    1023339245 Oct  5 13:40 radium.out
>>
>>
>> ra -r radium.out drops me to a shell but if I were to move the file and
>> have it start all over again, I get output.
>>
>>
>> Thanks
>> Monah
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20181007/74d087ba/attachment.html>


More information about the argus mailing list