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

    Memory leak in tinydns

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 4 Posters 1.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.
    • I
      Itwerx
      last edited by

      Trying to nail down a memory leak in 2.2.3.  It's a HA setup and the master (only) is losing ~1MB every few seconds.  It's got 4G RAM and 8G swap, so it takes a few hours to crash, plenty of time to try and troubleshoot, but I'm not getting anywhere yet.  There's no errors in the logs and running top none of the processes show increasing RAM usage.  In fact all the numbers except for Free stay very steady across the board, I just see the Free number slowly ticking down further, and further…

      Other interesting bits:

      In the web UI, the CPU usage under the Dashboard never updates, just shows the barber-pole animation and "(Updating in ten seconds)"

      Top does show one zombie process, though it doesn't show up in top's process list, (just shows as "<defunct>" in ps output).  The PID keeps changing though, so I assume this is the cause of the memory leaks, I just need to figure out where it's coming from.

      Anybody else run into this...?</defunct>

      1 Reply Last reply Reply Quote 0
      • ivorI
        ivor
        last edited by

        Sounds like bad install or even bad RAM. No issues like that on 2.2.3.

        Need help fast? Our support is available 24/7 https://www.netgate.com/support/

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

          Do you have any packages installed?

          1 Reply Last reply Reply Quote 0
          • I
            Itwerx
            last edited by

            RAM should be okay, it's a box that was running an older version of pfSense reliably as well as being a DL380, so we can see easily if ECC fails.  (Yeah, I know, still not 100% certainty there.  :)

            Just have tinyDNS installed at the moment, was getting ready to add others until we ran across this.

            1 Reply Last reply Reply Quote 0
            • I
              Itwerx
              last edited by

              Mm-kay, the parent process of the zombies is always "supervise axfrdns" so this is a tinyDNS issue.  I've got a thread going on that from the other day so I'm going to pop back over to that one so there's some context.

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                @Itwerx:

                Mm-kay, the parent process of the zombies is always "supervise axfrdns" so this is a tinyDNS issue.  context.

                You might want to fix the thread's subject. And good luck getting memleaks fixed in the DJB's zombieware.

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