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

    IPsec service very slow, sometimes timeouts

    Scheduled Pinned Locked Moved IPsec
    3 Posts 2 Posters 484 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
      Cyren91
      last edited by

      Hello pfsense community,
      our company is currently testing the pfsense firewall, which should replace our current Securepoint UTM. Unfortunately we face a problem with the IPsec service. We have about 81 IPsec tunnels to customers. After creating the tunnels the ipsec service is becoming very slow. After clicking the "Apply Changes" Button it takes minutes before the changes were made. Often we get a nginx 504 Timeout error. After a reboot the ipsec service needs about 10 - 15 minutes to start. If we disable most of the tunnels, the service is way faster. Do you have an idea whats wrong here? The hardware is a Server with a Quad-Core Xeon (AES-NI enabled), 8GB DDR3-ECC Ram, 2x RAID1 SSD, several Intel X710 network interfaces.
      Thank you.

      bepoB 1 Reply Last reply Reply Quote 0
      • bepoB
        bepo @Cyren91
        last edited by

        @cyren91 Hello Cyren, please provide information about the system loads while the problem is occurring. How is the CPU and RAM utilization?

        Please use the thumbs up button if you received a helpful advice. Thank you!

        1 Reply Last reply Reply Quote 0
        • C
          Cyren91
          last edited by Cyren91

          During the problem, the Memory usage is about 6% of 8052MiB, the cpu usage is about 30%. In Idle mode the cpu usage is at 5-10% and the RAM at 6%.
          We also have a second system (same hardware) with 24 tunnels, applying changes there take just a second.

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