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

    2.3 firewall tab -rules slow

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    48 Posts 8 Posters 11.8k 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.
    • KOMK
      KOM
      last edited by

      IE is fastest

      I don't think I've ever seen these three particular words together in this exact order before.

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by

        Yeah I know.
        I dont know what do I feel about that :)

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

          while it does seem that the rules page isn't as snappy as it was a couple of weeks ago, i don't see more then a couple of seconds of delay with 40-ish rules.

          edit:
          -just reverted back to a 20d old firewall_rules.php & there is no difference in speed.

          so if there is a difference & not just my imagination, then its  possibly due to a different change.

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

            Someone who can reproduce it in Firefox, load up Firebug, enable it, and watch the Net panel as the page loads, see where the delay is

            Specifically, in the lower right, there is an output of the total time and the onload delay (which would imply a JS issue)

            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
            • M
              maverick_slo
              last edited by

              I`m on it.

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

                If I had to guess, I'd say it's from the entire alias contents being placed into the hover popup, rather than cutting it off after a few entries as it used to. Makes the page pretty large especially with large aliases. Though I'd expect systems with small or no aliases to still be fast.

                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
                • M
                  maverick_slo
                  last edited by

                  Screens

                  rules1.JPG
                  rules1.JPG_thumb
                  rules2.JPG
                  rules2.JPG_thumb

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

                    Hmm that's with the built-in stuff in FF, not Firebug, that doesn't show the JS delay.

                    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
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      For that you can use Tools > Web Developer > Performance and then start recording data, reload the slow page, and then stop.

                      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
                      • M
                        maverick_slo
                        last edited by

                        Did it, I can send you .JSON in PM?
                        Seems that jquery is the culprit.
                        Page actually took 8 seconds to load.

                        1 Reply Last reply Reply Quote 0
                        • M
                          maverick_slo
                          last edited by

                          I`m not lying :)

                          rules3.JPG
                          rules3.JPG_thumb

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

                            Wouldn't do me any good, but Steve_B may want to see it!

                            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
                            • M
                              maverick_slo
                              last edited by

                              Steve? :)

                              BTW, I removed aliases (1 alias with 8 IPs in it) and was the same…

                              1 Reply Last reply Reply Quote 0
                              • S
                                Steve_B Netgate
                                last edited by

                                By placing a print(microtime()); at about line 256, and another after the final include("foot.inc", I can see exactly when the PHP stars/finishes loading the page. I see something like:

                                0.39483700 1453836509
                                0.40212300 1453836509

                                So about 100 mS

                                Running the Firebug profiler, I see nothing suspicious in the Javascript so far.

                                I am using Firefox 44 on a 2015 MB Pro

                                Als ik kan

                                1 Reply Last reply Reply Quote 0
                                • M
                                  maverick_slo
                                  last edited by

                                  And this is what I see on Firefox 44, Win10

                                  Page loads/renders 7-9 seconds…

                                  rules4.JPG
                                  rules4.JPG_thumb

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Steve_B Netgate
                                    last edited by

                                    Can you expand DOM.event handler please?

                                    Als ik kan

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      maverick_slo
                                      last edited by

                                      Sure.

                                      Reallllly long picture :)

                                      rules5.JPG
                                      rules5.JPG_thumb

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Steve_B Netgate
                                        last edited by

                                        Perfect. Thanks.

                                        So now we know it is spending all that time recalculating the style of something or other!

                                        Would you experiment with the different CSS files please and see if that has any effect?

                                        System->General setup->Theme

                                        Being of a light and sunny disposition, I prefer pfense-Beta, but perhaps you use something else.

                                        Als ik kan

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          maverick_slo
                                          last edited by

                                          I already tried it and no luck.
                                          Tried all 3 of them.
                                          Interesting sidenote…
                                          Chrome on android 6 displays it in 2 seconds.
                                          I think my computers have something in common will investigate that too...

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            maverick_slo
                                            last edited by

                                            Removed antivirus same thing.
                                            I don`t get it anymore :)

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