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

    Slow GUI with many alias/IP

    webGUI
    2
    4
    291
    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.
    • F
      fireix
      last edited by fireix

      I use for instance pfBlocker to build up a few country-list (one country and one region), along with up to maybe 200 aliases/rules.

      When I run with my configuration without these aliases/country-list, each page load takes just a second or so. But once loaded, every page view takes maybe 5-10 seconds. It is so annoying and it has been like this both in 2.6 and 2.7. While I have very light load, we are talking 300 Mbit/s at maximum (with no IPS). CPU is crazy oversized, same with memory.

      Why does it have to be like this? It is almost like something is going on for each single pageview.
      As soon as a restore a backup with all rules and alias, it immediately slows down. Even when having no network connection, this is just as noticable if not even worse probably because it tries to connect outside and get timeouts.

      Is there any dynamic operation being called on all/most pages and if so, why - or any option to turn it off?

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @fireix
        last edited by

        @fireix the page loads the alias contents as a tooltip for each rule so lots of rules with large lists take a long time to generate and download especially on a slower CPU.

        Sometimes one can work around this for instance by not putting the Source on multiple NAT rules but manually creating one firewall rule to control the access instead of multiple auto rules.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote ๐Ÿ‘ helpful posts!

        F 1 Reply Last reply Reply Quote 0
        • F
          fireix @SteveITS
          last edited by

          @SteveITS Is Intel(R) Atom(TM) CPU C2758 @ 2.40GHz 8 CPUs considered slow for this purpose? I know it is many years old now, but during normal work it is at just a few percentages of load. It is so fast before I load it up ๐Ÿ˜–

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @fireix
            last edited by

            @fireix You could run "top" and see what the CPU usage is. 10 seconds is not that long compared to say a 2100 or 3100 loading a couple dozen entries with, say, all US IPs as an alias.

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote ๐Ÿ‘ helpful posts!

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