Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    High CPU usage ntopng Package - even on idle?

    Scheduled Pinned Locked Moved Traffic Monitoring
    12 Posts 5 Posters 5.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rai80
      last edited by

      I experience the same since pfsense 2.4.4. Running directly on hardware. (No virtualization). CPU is on idle network utilization between 7-15%. When openening NTOP website and downloading it is climbing to 40-50%.

      I also have problems starting NTOP (from services) after trying 3-4 times its finally starting. On reboot is not starting automatically. And after a few days its crashing:

      pid 99675 (ntopng), uid 0: exited on signal 11 (core dumped)

      Right now I uninstalled NTOP. Waiting for an update....

      1 Reply Last reply Reply Quote 0
      • R
        ramup
        last edited by

        @Rai80: Thanks for sharing your experience. Due to my change in system setup, can you tell me how high the average CPU idle was with notpng under 2.4.3?

        I had (have) the same problem with not instantly starting or later exiting notpng services from the beginning on. I installed watchdog so it restarts the process automatically when it exits due to an error.

        1 Reply Last reply Reply Quote 0
        • R
          Rai80
          last edited by

          On 2.4.3 is was about 2-5%. And with high traffic and webinterface open it was around 15-20%. After closing the webinterface it dropped to 10-15%.
          So it seems much more CPU intensive after 2.4.4. and much less stable.

          Hope there will be an update soon!

          1 Reply Last reply Reply Quote 0
          • R
            ramup
            last edited by ramup

            OK, are there any other users who can confirm this behaviour with high CPU usage of ntopng in IDLE mode? If yes, I would issue a bug in redmine.pfsense.org to examine this behaviour.

            Btw. I can`t say that ntopng is less stable under 2.4.4 but since I use watchdog I do not check anymore how often the process exits. But the problem occured already under 2.4.3 and before and as far as I read this happens under FreeBSD regularly so I live with it because it is not really an issue when watchdog restarts the process immediately.

            But the hig CPU usage is more a problem that I can`t really estimate (in comparison to 2.4.3) especially since my change of hardware with 2.4.4. Before I used XEON vCPUs and as they are more powerful the CPU usage was not an issue because the server was under a certain load anyway.

            1 Reply Last reply Reply Quote 0
            • J
              Jack150
              last edited by

              i had the same issue with ntopng on a virtualized server
              cpu usage went up to 60% on an i5-6200u cpu

              deleted the package and the cpu usage went back to 5-8%

              1 Reply Last reply Reply Quote 0
              • R
                ramup
                last edited by

                @Jack150 Did you install ntopng under 2.4.4 or in a previous version?
                Did 60% occur during idle or load? Were you monitoring while that high CPU usage?

                1 Reply Last reply Reply Quote 0
                • J
                  Jack150
                  last edited by

                  I did install ntopng under 2.4.3 but shortly after the upgrade to 2.4.4 i got the issue.
                  it happend on idle and i was only watching @ system activity

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jack150
                    last edited by

                    i just did a reinstall of ntopng, it was running fine
                    but after i added another port to my bridge the cpu when back up

                    see screenshot of system activity:
                    https://ss.dutchs.nl/n4tRP2SBq9dG.png

                    1 Reply Last reply Reply Quote 0
                    • R
                      Rai80
                      last edited by

                      Now in 2.4.4-p1 I reinstalled NTOPNG, and CPU usage has dropped and stays much more stable (low).
                      So seems to be fixed.

                      1 Reply Last reply Reply Quote 0
                      • S
                        sadie
                        last edited by

                        I'm using the latest nightly build of ntopng pro and finding it's using a large amount of CPU time constantly, even when the user interface isn't open in a web browser, and even when there's barely any traffic passing through the server.

                        My configuration file contains:

                        -G=/var/run/ntopng.pid
                        --disable-login=1
                        -F "mysql;localhost;ntopng;flows;username;password"
                        -w=3050

                        However the same still occurs even if I remove the mysql line (I suspected it was file IO of writing flows, but apparently now).

                        Any suggestions to track down what ntopng is doing would be greatly appreciated - the load average on the server I'm running it on is through the roof!

                        1 Reply Last reply Reply Quote 1
                        • I
                          infovish31
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.