Navigation

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

    Cannot allocate memory

    General pfSense Questions
    3
    5
    165
    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.
    • T
      tomli last edited by

      Hi All,

      pfsense version 2.4.5 p1
      FRR package

      I use FRR to setup BGP connection with my ISP. They will advertise about 5000 routes ro my PFsense. My BGP connection is up and receive all routes. I use the below command to check it in vtysh console
      sh ip route summary
      Total: 5xxx

      In the pfsense console, I try to use the command netstat -nr | wc -l to check it. My pfsense get 1xx routes only. Sometimes, I run the command
      netstat -nr, I get the below error message
      "Re: netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory"

      Is it any route capacity in pfsene table, please advise.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • stephenw10
        stephenw10 Netgate Administrator last edited by

        Hmm, does it only ever get <200 routes in the system table?

        That error message is associated with running netstat whilst routes are still being added to the table such that by the time it tries to display the routes there are more than the space it allocated memory for.
        However 5000 routes isn't that many, I would expect that to complete loading into the system table quite quickly.

        Steve

        1 Reply Last reply Reply Quote 1
        • T
          tomli last edited by tomli

          No, it display >300 routes (about 10 hours later). We reboot the server. We can see all routes in command nestat -nr. Cannot find the root cause.

          Thanks.

          1 Reply Last reply Reply Quote 0
          • stephenw10
            stephenw10 Netgate Administrator last edited by

            It takes 10h to add 300 routes?

            yon 0 1 Reply Last reply Reply Quote 0
            • yon 0
              yon 0 @stephenw10 last edited by

              @stephenw10

              me too.
              link text

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy