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

    Memory use question

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 1.2k 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 Offline
      RickNY
      last edited by

      Was wondering if someone could take a look at the memory use on my RCC-VE 2440 and let me know if this looks OK.. From what I understand, FreeBSD will load up on inactive memory as cache and consume free memory as needed, and then flush it – is that correct?

      last pid: 64534;  load averages:  0.13,  0.39,  0.53    up 2+00:14:42  15:55:55
      42 processes:  1 running, 41 sleeping
      CPU:  1.4% user,  1.8% nice,  0.4% system,  0.4% interrupt, 96.1% idle
      Mem: 960M Active, 2210M Inact, 565M Wired, 416M Buf, 165M Free
      Swap: 8192M Total, 90M Used, 8102M Free, 1% Inuse
      
      

      Thanks,
      Rick

      ScreenShot006.jpg
      ScreenShot006.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • F Offline
        fragged
        last edited by

        Mine looks pretty much flat with little activity around when Snort restarts to load new rules. Do you have package running that uses a lot of memory and does some scheduled stuff?

        1 Reply Last reply Reply Quote 0
        • F Offline
          firewalluser
          last edited by

          http://www.linuxatemyram.com/

          http://stackoverflow.com/questions/4093786/what-is-equivalent-of-linuxs-free-command-on-freebsd-v8-1

          Edit.
          What do you have running package wise on the box although this looks relevant for you as pfsense uses UFS.
          https://forums.freebsd.org/threads/inactive-memory-vs-free-memory.8591/

          Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

          Asch Conformity, mainly the blind leading the blind.

          1 Reply Last reply Reply Quote 0
          • R Offline
            RickNY
            last edited by

            This box has two instances of Suricata running, along with Barnyard… I took a look at the logs, and the point where the inactive memory flushes and returns to free memory every other hour and a half or so is when Suricata does automatic cleanup of the logs.

            1 Reply Last reply Reply Quote 0
            • F Offline
              firewalluser
              last edited by

              Interesting, do you know if its affecting performance of the system elsewhere?

              I dont run Suricata but I wondered if this might be relevant to your situ?
              https://forum.zentyal.org/index.php?topic=18893.0

              Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

              Asch Conformity, mainly the blind leading the blind.

              1 Reply Last reply Reply Quote 0
              • R Offline
                RickNY
                last edited by

                @firewalluser:

                Interesting, do you know if its affecting performance of the system elsewhere?

                I dont run Suricata but I wondered if this might be relevant to your situ?
                https://forum.zentyal.org/index.php?topic=18893.0

                I am not seeing any negative impacts on performance.. Swap usage remains steady at 0%, and the CPU RRD graph looks good, with occasional spikes to 50-60% CPU during rule reloads.. As far as the link you sent – my stats log is being rotated according to the default automatic log cleanup settings under "Log size and retention limits".  I have turned off the hard limit on directory size, and my Suricata logs are staying at around 2-3GB with automatic rotation and retention.

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