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

    Constantly reloading rules

    General pfSense Questions
    4
    14
    4.9k
    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.
    • K
      killah
      last edited by

      Sometimes there are no errors reloading rules.

      Sometimes I get someting like this:
      Acknowledge All    .:.    03-26-07 06:11:44 - [filter_load]There where error(s) loading the rules: pfctl: DIOCADDRULE: Device busy The line in question reads [ DIOCADDRULE]:    .:.

      Reboot helps (for some time)..

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

        Haven't seen anything like this.  Perhaps you should reinstall.

        1 Reply Last reply Reply Quote 0
        • K
          killah
          last edited by

          It's fresh copy.. So, reinstalling is not a solution.

          What happens after I click "Apply Changes" when editing rules?? Which files are processed?

          1 Reply Last reply Reply Quote 0
          • J
            jeroen234
            last edited by

            confi.xml is them rewritten
            and then reread

            1 Reply Last reply Reply Quote 0
            • H
              hoba
              last edited by

              Any chance this is a carp cluster and you set up some syncing loop (master->slave->master->slave->…)?

              1 Reply Last reply Reply Quote 0
              • K
                killah
                last edited by

                Nope.. It's not CARP cluster. I have dual WAN Internet connection with Load balancer turned on. I guess I know what was the reason. As a matter of fact there were two.. :)

                First - one of My ISP was messing with My ADSL connection. (there should be an option in Load balancer to adjust time of finding that one of connections is offline)
                Second - I added some rules to /etc/crontab wrong way. (My bad)

                Problem solved.. :)

                1 Reply Last reply Reply Quote 0
                • H
                  hoba
                  last edited by

                  @killah:

                  First - one of My ISP was messing with My ADSL connection. (there should be an option in Load balancer to adjust time of finding that one of connections is offline)

                  We raised the timeoutlevel for the linkdown detection in newer snapshots to be not that sensitive anymore so this should be fixed (unless your link is really really bad).

                  1 Reply Last reply Reply Quote 0
                  • K
                    killah
                    last edited by

                    Super, it will be helpful! But time of reaction should be balanced too, not too quick not too slow. It would be nice if I could define it Myself..

                    1 Reply Last reply Reply Quote 0
                    • H
                      hoba
                      last edited by

                      Afaik it's hardcoded in the slbd binary and therefor not that easily configurable but I might be wrong here.

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

                        @hoba:

                        Afaik it's hardcoded in the slbd binary and therefor not that easily configurable but I might be wrong here.

                        You are absolutely correct.

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