Giter Site home page Giter Site logo

Unusual high memory and cpu consumption after hours which causes system instablility: expected behaviour due to presence of dynamically allocated IPv6 counters about fastnetmon HOT 5 CLOSED

DenisKlimek avatar DenisKlimek commented on June 3, 2024
Unusual high memory and cpu consumption after hours which causes system instablility: expected behaviour due to presence of dynamically allocated IPv6 counters

from fastnetmon.

Comments (5)

pavel-odintsov avatar pavel-odintsov commented on June 3, 2024 1

from fastnetmon.

DenisKlimek avatar DenisKlimek commented on June 3, 2024

Good Morning Pavel,

thanks for your quick reply! :) We have about 250k unique hosts behind our network - I changed the amount of memory from 4GB to 8GB based on your advice and keep monitoring it.

Currently we are only in evaluation phase to look and compare against mutliple DDoS detection and mitigation methods. The advanced version might be also interesting, but currently we continue testing community version with basic functionality.

Thank you

from fastnetmon.

pavel-odintsov avatar pavel-odintsov commented on June 3, 2024

from fastnetmon.

DenisKlimek avatar DenisKlimek commented on June 3, 2024

Hello Pavel,

we did some more testing and disabled the transfer of IPv6 flow data to FastNetMon. After receiving IPv4 flows only the cpu and memory consumption stays on a constant level for two days already. See attached screenshots. Looks like that problem is related to IPv6 only. See attached screenshots.

Firefox_Screenshot_2024-02-09T10-58-14 957Z
Firefox_Screenshot_2024-02-09T11-01-25 620Z

Regards,
Denis

from fastnetmon.

pavel-odintsov avatar pavel-odintsov commented on June 3, 2024

Hello!

That's absolutely expected behaviour. If you have many IPv6 hosts in your network then FastNetMon will need to allocate memory to track each IPv6 address in your network. So it will lead to gradual increase of memory usage: https://fastnetmon.com/docs/memory_consumption/ That's exactly what you observe.

IPv4 counters have different design and FastNetMon Community allocates them on load and then it cannot grow. This approach is impossible for IPv6 and that's why we allocate counters on demand.

If you do want to reduce memory usage then Advanced edition is here for your disposal: https://fastnetmon.com/docs-fnm-advanced/flexible-counters-for-traffic-calculation/

from fastnetmon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.