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

    CARP failover caused by large transfer

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    2 Posts 2 Posters 317 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.
    • C
      chrullrich
      last edited by

      Hello,

      I have a pair of pfSense 2.4.3-p3 with several VLANs on a single GbE link, each with its own CARP alias. My problem is that I'm getting spurious failovers whenever a large amount of data is going through the firewall (particularly at the start of the transfer).

      My current hypothesis is that the reason for this is that the CARP announcements from the primary are getting delayed badly enough that the backup takes over.

      I have tried everything I can think of:

      • replacing the single GbE connection with an LACP group of two such links, with no effect (as expected; a single transfer would still go through only one of them)
      • using the traffic shaper, changing /etc/inc/filter.inc to put the CARP packets into their own high-priority queue, but it does not help, and it reduces the throughput so much I'm better off without it.

      What else can I do? The CPU and network interfaces are probably fine, because once the transfer gets going, it (without ALTQ) reaches, and stays at, wire speed.

      Thanks for any hints,
      Christian

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        It might be your switch doing it and not the firewall, check for and disable things like multicast storm control to rule that out.

        Also you could set advbase higher on the VIPs so that it takes longer to trigger a failover. If you increase advbase to 1 that would take 1 second + skew to switch. Or use QoS to limit the initial burst to a lower speed.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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