Information on wlan1 is with NO workstations/users connected via wlan1… Additionally this instance has been updated/upgraded several times since initial install 12 months ago via apt update…
Thank you. This was mostly to exclude the know issue. If you could also show rss the next time that would help. The absolute numbers are more informative generally.
Are you in a position to downgrade to 5.2.1 or 5.2.0 (or 5.0.9) to verify you see much lower memory usage in a previous release?
Otherwise, for runtime memory profiling you could attempt to use zeek-jemalloc-profiling, but it will require you to rebuild Zeek with --enable-jemalloc or use LD_PRELOAD. More detailed documentation about this is work in progress. It might be easiest to ask on Slack #general if you need guidance.
Hope this helps and we can figure out the root cause of the increase.
I can downgrade, what would be the best way to go about downgrading from Ubuntu 20.04 via cli? Are there any ‘issues’ I should be aware of by by doing a down grade? I could go back one version at a time to isolate which version started the %MEM issue… Any assistance would be helpful, as these are production environments and we would test on lab devices first. Thanks
I can downgrade, what would be the best way to go about downgrading from Ubuntu 20.04 via cli?
Assuming you have installed via the OBS Binary Packages, removing the old packages and installing just the zeek-lts package should allow you to downgrade from 5.2.x to 5.0.x.
$ ...make a backup of files in /opt/zeek you'd like to ensure don't get lost...
$ apt-get remove zeek* libbroker*
$ apt-get install zeek-lts
$ /opt/zeek/bin/zeek --version
/opt/zeek/bin/zeek version 5.0.9
I could go back one version at a time to isolate which version started the %MEM issue… Any assistance would be helpful, as these are production environments and we would test on lab devices first.
If you can reproduce it in a lab that would be great. See above how to go to 5.0.x. For any versions in between it seems it would require source build.
Do you know if Zeek is working on the %mem issue for v5.2.2+? I will build/step up builds to try and determine where %mem goes south. Thanks for your feedback/help.
Hey @net_solv - it does seems something clearly changed in your environment between 5.0 and 5.2…
We’d certainly be interested in what you’re finding! Your best bet will be using jemalloc, if you’re not in the position to rebuild Zeek, you can try setting LD_PRELOAD in node.cfg.