Re: uburst log headed with 0s

Alfredo Cardigliano <[email protected]> Tue, 17 Jul 2018 16:21:11 +0200
Newsgroups gmane.linux.ntop.general
Message-ID <[email protected]>
Hi Jeff
it seems that on your machine the uburst logger is printing null characters in
place of the file header, I made some change, please update and let me know
if you see any difference.

Regards
Alfredo

> On 16 Jul 2018, at 17:37, Jeff Bacon <[email protected]> wrote:
> 
> updated to v.3.1.180714, still happening, though not as egregiously -
> 
> 
> 
>> -----Original Message-----
>> From: [email protected] <mailto:[email protected]> [mailto:ntop-
>> [email protected] <mailto:[email protected]>] On Behalf Of Alfredo Cardigliano
>> Sent: Monday, June 04, 2018 12:45 PM
>> To: [email protected] <mailto:[email protected]>
>> Subject: Re: [Ntop] uburst log headed with 0s
>> 
>> The binary is compiled with 3.1.1.1, I guess the API is the same, it should
>> work.
>> 
>> Alfredo
>> 
>>> On 4 Jun 2018, at 18:40, Jeff Bacon <[email protected]> wrote:
>>> 
>>> will this work with the fiberblaze 3.1.0.1 release still?
>>> 
>>>> -----Original Message-----
>>>> From: [email protected] [mailto:ntop-
>>>> [email protected]] On Behalf Of Alfredo Cardigliano
>>>> Sent: Friday, June 1, 2018 12:12 PM
>>>> To: [email protected]
>>>> Cc: [email protected]
>>>> Subject: Re: [Ntop] uburst log headed with 0s
>>>> 
>>>> Hi Jeff
>>>> I tried to reproduce this with no success, that means it happens under
>>>> some condition,
>>>> anyway I made some change to the code to make sure it flushes the
>>>> buffer correctly,
>>>> new packages will be available soon (30 min from now), please check if
>>>> you still see
>>>> this issue and let me know.
>>>> 
>>>> Thank you
>>>> Alfredo
>>>> 
>>>>> On 31 May 2018, at 17:36, Alfredo Cardigliano <[email protected]>
>>>> wrote:
>>>>> 
>>>>> Hi Jeff
>>>>> could you send me a log file to check what’s happening? I am not sure
>>>> I understood.
>>>>> 
>>>>> Thank you
>>>>> Alfredo
>>>>> 
>>>>>> On 31 May 2018, at 17:32, Jeff Bacon <[email protected]>
>>>> wrote:
>>>>>> 
>>>>>> we have uburst monitoring enabled, but our logs always seem to get
>>>> headed with a pile of NULs. It seems to be being written as a sparse
>>>> file so the file doesn't take up much disk, but it's awfully hard to
>>>> parse. this is with 3.1.180226.
>>>>>> 
>>>>>> --interface fbcard:0:a:00
>>>>>> -P=/var/run/n2disk-fbcard:0:a:00.pid
>>>>>> -s 9000
>>>>>> --chunk-len 128
>>>>>> --buffer-len 4096
>>>>>> --dump-directory /srv/pcaps/7ticks-A/dumps
>>>>>> --max-file-len 512
>>>>>> --max-file-duration 900
>>>>>> --file-prefix fbcard:0:a:0-
>>>>>> --max-nested-dirs 10
>>>>>> --max-num-files 1000
>>>>>> --hugepages
>>>>>> --timeline-dir /srv/pcaps/7ticks-A/timeline
>>>>>> --reader-cpu-affinity 10
>>>>>> --writer-cpu-affinity 12
>>>>>> --compressor-cpu-affinity 32,34,36,38
>>>>>> --uburst-detection
>>>>>> --uburst-log /var/log/n2disk/uburst-fbcard:0:a:0.log
>>>>>> --uburst-win-size 100
>>>>>> --uburst-link-speed 10000
>>>>>> --uburst-threshold 80
>>>>>> --pcap-compression
>>>>>> --cluster-id 1
>>>>>> --index
>>>>>> --index-on-compressor-threads
>>>>>> --nanoseconds
>>>>>> 
>>>>>> any thoughts?
>>>>>> _______________________________________________
>>>>>> Ntop mailing list
>>>>>> [email protected]
>>>>>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>>>> 
>>>>> _______________________________________________
>>>>> Ntop mailing list
>>>>> [email protected]
>>>>> http://listgateway.unipi.it/mailman/listinfo/ntop
>>> 
>>> _______________________________________________
>>> Ntop mailing list
>>> [email protected]
>>> http://listgateway.unipi.it/mailman/listinfo/ntop
> 
> <uburst.log.tar.gz>_______________________________________________
> Ntop mailing list
> [email protected] <mailto:[email protected]>
> http://listgateway.unipi.it/mailman/listinfo/ntop <http://listgateway.unipi.it/mailman/listinfo/ntop>

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEunYLiJIhvMrSEXzAm6qh6WCZ23EFAltN+1cACgkQm6qh6WCZ
23HMYhAArVSkIuX+dZPrqER1VLLRTvDh50sKmIIGA6FFVMahC7ebUnzOgbQTgxJj
SMrkjUmssw8UNaMaBjcNExMwpIsEa6a10B2Li464bjvxYZceBXrfDnTqgw54PHPb
FOVUt5K19CszdolvEyrOCvd8PryJIROp2IO9rqkhH1PvSmLmLiPiHh0C8VeiYci2
5MCMTFKuBJyl7IKYEATBEgJ6iF+Y01FeOW2oGmHuVzxYr+jsL0CzwBy5qO7om7KV
b+XPorUIvKx0NiH/i6fIE7PiHAdFz5QsleuoCRjxaeuQsGrw2nf06s4wwltMNEra
8zqYtdmp39Nm+qyWg8j+Ffp+P8VHbkZAcuBFnJxBGsRioUdhjzLDjThYTalCWJ0/
LSV1oZt+/ZeRESoj5UeOsKcNjFXqRbeKbzC8bELoyqViFIKrdbiJg0rrbyvw5xvi
56Qgj9+qpnCKxV9D3RnmzNfQSY1hfjP1xlR/CKG3gA9dGtb2TkkueX4ZtH/344Pz
SycRyh88aZViVOO4PM2LeQxRvtgy1el8Gcguum/ICVOtyqMcbH0E22CLHS4n/7f0
Iq36p7FDwFTVKBw593BP4wmd0M8npTVy+vc4SI9AneD/W4XfKJVaG8hQ9HeZj48h
aqi0bYTvzGMHLDEjSPp2ffeY/3t6odujlwlH+xSMzw6+Iez2q3Y=
=c5JH
-----END PGP SIGNATURE-----