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

    Alias not updated

    Scheduled Pinned Locked Moved General pfSense Questions
    18 Posts 2 Posters 2.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.
    • S
      sef1414 @stephenw10
      last edited by

      @stephenw10

      Interestingly today the original "bug" (or not) made a re-appearance. I had an alias that was working fine. It contained a nested aliases, and that stopped showing up in the table.

      I increased the kern.threads.max_threads_per_proc from 4096 to 8192, and it started working. I also saw a whole new slew of FQDNs failing to resolve.

      Curious, do you have any insight on intended design here, or the functionality of that tunable parameter? I'm guessing its not intended for resolution of aliases to fail if any of them fail to resolve?

      And none of the aliases that I've been having trouble with have contained FQDN's that failed to resolve, they offending FQDNs have been in other aliases.

      I'm not sure why that system tunable improves the situation. It was a suggestion I just blindly followed from the bug report thread. And increasing it was just a shot in the dark. I'll have to do more research.. maybe the failed resolutions are causing timeouts which result in the rest of the filter reload failing?

      Guess I'll keep any eye on things and see if the issues persist.

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

        Hmm, indeed that sysctl is not specific to this issue. That fact that increasing it allows it to run implies you have a very large number of threads. I would guess filterdns is trying to resolve all the fqdns and some are getting stuck and hitting that bug. You can probably see that in the process list. How many FQDNs do you have in aliases, approximately?

        Steve

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

          @stephenw10

          Looks like a little less than 150 FQDNs.

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

            Hmm, not that many then. I wouldn't expect anything special required there.

            There anything unusual about the FQDNs that are failing?

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

              @stephenw10

              I've removed most of them at this point. My work around was working.. for a while. Doesn't seem to be anymore though. At a loss as to what to try now.

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

                How many do you have remaining?

                Are they all failing? Failing randomly? Anything logged?

                Steve

                1 Reply Last reply Reply Quote 0
                • S
                  sef1414
                  last edited by

                  @stephenw10

                  I have about 25 aliases containing a FQDN. Logs report that none of them are failing.

                  However, aliases simply wont update. I have one where I've tried a nested alias, or adding the IP directly, and it simply doesn't update. It's been over a week without it updating.

                  The strangest thing is in the logs I can see it appear to be added successfully (e.g. Adding Action: pf table: ......)

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

                    Hmm. Does it update if you reboot?

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

                      @stephenw10

                      Planning to give that a try as soon as I can take everything offline. Will give you an update.

                      1 Reply Last reply Reply Quote 0
                      • S
                        sef1414
                        last edited by

                        Reboot fixed it. Usually would be a go to but the last go around reboots did not have any effect.

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

                          Hmm, odd. I would have to guess some stuck process maybe?

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

                            @stephenw10

                            Maybe.. weird that some updated aliases were working fine though.

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