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

    MBUF Memory causes Internet Disconnection?

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 3.4k 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.
    • U Offline
      unregistered00
      last edited by

      We're currently using pfsense 1.2.2 on a 62 computer setup. There are times that the Internet connection goes down and the router needs to be reset to fix the internet connection.

      The memory usage of pfsense according to the System Overview page during a fresh reboot is floating at around 39% after a few minutes it goes up to 50%. At around a few hours at 80%

      MBUF usage floats at around 800/1035

      The router's ram is only 400+ megabytes (half gig).

      Running a torrent sometimes causes an Internet disconnection.

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG Offline
        GruensFroeschli
        last edited by

        I don't think that you really have a "disconnect" but that you exhaust your state-table.

        You can increase the state-table size under: System –> Advanced --> Firewall Maximum States
        Be aware that you need per state about 1KB of RAM.
        So in your case with 400MB i'd say you can set it to about 20'000 ~ 25'000.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • U Offline
          unregistered00
          last edited by

          What could be the tolerable MBUF percentage before it goes down?

          e.g. 1000/2000 = 50%

          My is ????/2175. It varies depending on the amount of users or whatever it is that they're doing.

          1 Reply Last reply Reply Quote 0
          • C Offline
            cmb
            last edited by

            mbufs really aren't relevant and really shouldn't be so prominently displayed, just ignore them, you're maxing out your state table from your description. They'll fluctuate and there isn't a "normal" level of usage.

            1 Reply Last reply Reply Quote 0
            • U Offline
              unregistered00
              last edited by

              Is maxing out the state table a problem? Is it recommended that I should decrease it?

              1 Reply Last reply Reply Quote 0
              • C Offline
                cmb
                last edited by

                It means no new connections will be allowed. You'll need to increase under System>Advanced if that's the case. Can check how much you're using historically in RRD graphs

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