Skip to content
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

Very high nProbe memory usage #553

Open
novaksam opened this issue Nov 14, 2022 · 3 comments
Open

Very high nProbe memory usage #553

novaksam opened this issue Nov 14, 2022 · 3 comments

Comments

@novaksam
Copy link

I have a optical mirror feeding a switch that is mirroring packets to a number of appliances, nProbe being one of them. I'm observing super high (currently 39GB x2 processes) memory usage for the nProbe process. I'm not sure if this is a bug, or some kind of misconfiguration, but I haven't modified my configs in a long time, so I'm leaning towards bug. How should we proceed resolving this issue?

@cardigliano
Copy link
Member

@novaksam please provide your nProbe configuration. Please also provide traffic information (traffic rate, number of flows, etc)

@novaksam
Copy link
Author

Replaced the public IPs with a 127.0 prefix.

-i=zc:enp5s0f0@1,zc:enp5s0f1@1
-g=/etc/nprobe/nprobe-rss1.pid
-n=udp://127.0.25.51:2055
-n=udp://127.0.37.111:9891
--all-collectors
# Incoming - -u
# IF-MIB::ifDescr.13 = STRING: enp5s0f0
# Outgoing - -Q
# IF-MIB::ifDescr.14 = STRING: enp5s0f0
-u=13
-Q=14
--black-list 127.0.32.2/32,127.0.32.3/32,127.0.25.51/32
--local-networks 127.0.0.0/16,172.16.0.0/16
--local-traffic-direction
--cache-geoip-asn
-V 9
-o 100
--max-num-flows 2097152
--cpu-affinity 4
--export-thread-affinity 5
--lru-cache-size 131072
--capture-direction 0
-T "%IPV4_SRC_ADDR %IPV4_DST_ADDR %INPUT_SNMP %OUTPUT_SNMP %IN_PKTS %IN_BYTES %OUT_PKTS %OUT_BYTES %FIRST_SWITCHED %LAST_SWITCHED %L4_SRC_PORT %L4_DST_PORT %TCP_FLAGS %IP_PROTOCOL_VERSION %PROTOCOL %SRC_TOS %L7_PROTO_NAME %BITTORRENT_HASH %DIRECTION"

Traffic rate is 10Gbps, not sure how to get flow count.

@stuhunter4
Copy link

possibly related issue - #579

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants