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

    Limiting ntopng disk usage

    Scheduled Pinned Locked Moved Traffic Monitoring
    3 Posts 2 Posters 179 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.
    • D
      digitalgimpus
      last edited by

      Curious how others are handling this.

      I've got a 8192 MB RAM Disk for /var to prevent a ton of writes to my drive, which feels pretty generous, almost excessive.

      I've got notpng configured as such:
      3b18dc28-c76d-4e57-b421-7d5de793ebe8-image.png

      Regardless every couple of days I'm managing to overflow /var, and thus pfsense goes down hard.

      I really hate the idea of setting up influxdb in a VM on another box for this, is it possible to just segregate ntopng to something less critical than /var/? Ideally any package would not be writing to a shared RAM disk which could take down the entire system.

      dennypageD 1 Reply Last reply Reply Quote 0
      • dennypageD
        dennypage @digitalgimpus
        last edited by

        @digitalgimpus ntopng writes a ton of data to disk. There is no way around this. To lessen it a bit, you could turn off the host time series data, and the interface data. But there will still be a ton of writes. Even if you use InfluxDB off host for the traffic data, there will still be a lot of local writes via Redis. In short, if you care about disk writes, do not run ntopng.

        FWIW, I recommend ntopng be used as a diagnostic resource when you have issues. I do not recommend ntopng as something you continuously run.

        D 1 Reply Last reply Reply Quote 0
        • D
          digitalgimpus @dennypage
          last edited by

          @dennypage Noted, and thanks.

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