Re: uburst log headed with 0s

Alfredo Cardigliano <[email protected]> Fri, 1 Jun 2018 18:11:56 +0200
Newsgroups gmane.linux.ntop.general
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEunYLiJIhvMrSEXzAm6qh6WCZ23EFAlsRcEwACgkQm6qh6WCZ
23EiNxAAjGPxl9p3ksoIVGzLV0N8w/aZDFvvqmyWBRuGsXersAq2612a/Ui9MDKK
pyz9sy/H9YvLFE00fudjw5kIL37prhnP11TzVQ0+62HIp2W7TtUr49+Ia+lbdDWm
ev2/9UJ+AAHcJRPk0rTRGDfJlUfVr5T/I1D6PdN8gs75e5l6NdMHqMlxlgYcQrVo
JygrQe2zdodO7Gu7c02J8rA/+t9SY6knhGzvnORHXolj9ceUvZojQpgTFFDkD/NU
o4VzW02Oz9Z1l4vDfp4bhz8/UcP/B2ja5lBLksW749AiyTiH2qrtTtDuPseXQCA+
hhtN8oE5EbTzT178uqLPuCWGLOKWY+nJfgUCGnBrCclnzVslUG8oYjkG4EjIqQLi
n3ezwGR/MRBhdPIDOb9iqRgKuY2QN7T1hlpwVXe2DBqk/6vPrNwtss5Yy+Azkcqn
ulzfo8bKG653HIOFjm2u3vysvz4dcbMOhnVEXBegN/Cfs6HB4+JaFQGVo2H1PSTj
OmKCfQ+9mjMLnwZt2h1KNx3/QO1c61q6pa5a9k7T8d2b5K4K3jR4vUw9A0L5Nkqj
QahWKTlW+Z9vwm13XU8Y2PdprRUa8qfxI2Lvf/MPmBu5GpgJBOGh9BTwnIDxiPms
ynXXlAcrBwrdZkZ858hvyZLf2BTOViDe2fGpq/wJE0gBF2IJjSE=
=k/BK
-----END PGP SIGNATURE-----