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

    Ntop using nearly 100% CPU

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 3.5k 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.
    • P
      peterclo
      last edited by

      I have run into a problem several times after a few days of uptime, the CPU usage would show as 100%. Since I'm currently testing my pfsense box, I just reboot it and it works nicely again for a few days (between 2 and 5). I found out today how to check the processes CPU usage (top -s1) and I found out that ntop was using nearly 100% CPU.

      PID USERNAME  THR PRI NICE  SIZE    RES STATE    TIME  WCPU COMMAND
      73148 root        1 139  20 61696K 55996K RUN    815:43 93.99% ntop
      67758 root        1  -8    0 42868K 17128K piperd  0:04  0.05% php

      Trying to stop the service doesn't work, the process keeps running. Restarting it doesn't correct the CPU usage either. I have to use a kill -9 to get rid of it.

      Does anybody have the same problem? Is there a solution or do I have to uninstall ntop?

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

        That happens with ntop from time to time.  The author claims FreeBSD threading is broken and does not want to fix.

        1 Reply Last reply Reply Quote 0
        • P
          peterclo
          last edited by

          Ha ha that's a good one :)

          Ah well, I'll just run ntop when I need it and stop it afterwards.

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