-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nfsen - setting compression value #33
Comments
I am sorry for the trouble, but between the two master version, there is no change for backend or expire behavior. As of lz4: It was a user demand to explicitly use the system installed lz4 library and not the code, which comes with nfdump. However, as I still consider lz4 as one of the optimal compression, which should be available in nfdump, the lz4 code still is shipped with nfdump. The Finally please note, if you change the compression of the files, you need the rebuild the profile in order to reflect the correct new size of the profile. |
Updated title and original notes since, also moved original problem with compression not working to nfdump repo for that. Keeping this for only the nfsen conf one |
There is no change, which stops nfcapd from compressing with lz4. |
moved original nfdump question over to nfdump - updated this one to focus on just nfsen
Recently I upgraded to nfdump and saw nfcapd no longer being stored in lz4 even thought I saw it still being set to use it. I wanted to test if updating to another compression such as zstd fixed it and ran into an issue.
looking at nfsen.conf I see it was using the legacy value:
looking at nfsen status, I do see it is doing
-z=lz4
to nfcapd...Looking at:
https://github.com/phaag/nfsen/blob/main/etc/nfsen-dist.conf#L126
I wanted to try using zstd so I updated:
This did not change what is being passed to nfcapd...
digging into nfconf..
https://github.com/phaag/nfsen/blob/main/libexec/NfConf.pm#L152
I see its "$ZIPcollected" is what needs to be changed... nfsen-dist.conf never got updated to note it like ZIPprofiles did.
Waiting for some stuff to finish, but will updated nfsen conf to test and confirm:
The text was updated successfully, but these errors were encountered: