Webgui slow to make changes after 2.2.3
-
Hello,
I have about 5 pfSense systems I administer, and they are all running with an internet connection and functioning DNS servers. After upgrading to 2.2.3, every single system is slow in the web GUI to make changes and apply them. If I try to make a change to a firewall rule, or add a custom DNS entry in the DNS Forwarder, the GUI as soon as I hit save, there is a 15-20 second pause, and then again when I hit apply there is another 15-20 second pause. This is only happening on 2.2.3, on various platforms. They are all running the embedded version. I have a feeling this has to do with the new XSS patches. I don't see anything in the system logs outside the usual.
Just a heads up. Anyone else having this issue?
Thanks
-
Some others are having it. Something about slow CF cards and sync.
-
Go to System -> Firmware -> Updater settings and disable the automatic dashboard update check.
-
Go to System -> Firmware -> Updater settings and disable the automatic dashboard update check.
That certainly does not help. The only thing that helps is switching to permanent RW in Diagnostics - NanoBSD.
-
I do:
Diagnostics->NanoBSD, Current Read/Write Status, Switch to Read/Writethen make a bunch of changes,
then switch back to Read Only.
Because of issues with the file system if it is RW and there is a power failure, it is safer to leave it normally in RO.
The issue is being worked on right today, e.g.: Current Read/Write Status
and there are changes happening in the tools repo to handle the nanoBSD in a different way also.Hopefully the save delay problem will be gone in 2.2.4 and there will be no need for any of this messing about :)
-
It's also horribly slow on:
- 2.2.1 (I rolled back from 2.2.3 since that made packages constantly restart);
- Non-Nano (mine is a full install).
Disabling update check does not help.
-
@Mr.:
It's also horribly slow on:
- 2.2.1 (I rolled back from 2.2.3 since that made packages constantly restart);
- Non-Nano (mine is a full install).
Then you are completely OT here… :P
-
same problem aftar update from 2.2.2 to 2.2.3 the webgui is very slow if i save something. Toda i updated to 2.2.4 but there is the same Problem with the webgui very slow
-
same annoying issue here … Any news ?
-
the problem still exists with 2.2.4 on brand new Kingston 32gb 266X CF cards. i have tried clean installs on four different cards, and each had the same problem(s).
i have tried other type(s) of CF cards, and tried different speeds….all had the same issue(s) with the 2.2.4 build
:(
-
As already noted above and even on 2.2.4 release notes: The only thing that helps is switching to permanent RW in Diagnostics - NanoBSD. Stop wasting your time.
-
As already noted above and even on 2.2.4 release notes: The only thing that helps is switching to permanent RW in Diagnostics - NanoBSD. Stop wasting your time.
I was always under the assumption that embedded installs should remain in RO mode, why is that not the case any longer? 2.2.4 has already locked on me twice within the span of two weeks, something 2.1.5 never did. Will my config remain OK if I experience one of these sudden crashes if I switch to RW mode?
The long delays in making changes is VERY frustrating, it's not like this is a Cisco device where I can make instantaneous changes via a command line. These long delays are a waste of time as well.
-
Same issues here going from 2.1 from 2.2.4 Painfully trying to roll back now. Neither the rw/ro or the updater settings change appear to improve my issue. Similar to a few of the others, I am also on an embedded NanoBSD installation.
-
If your media is slow on 2.2.3+ then you need a new/different disk. High quality CF cards and fast SD cards should be fine. I have a Sandisk in my ALIX (Stated speed is 30MB/s, 200x) that saves nearly as fast as when there is no transition at all on 2.2.3 and 2.2.4, and a crappy Kingston that takes ages in the same role.
Your choices are:
1. Keep the disk permanently RW – There is little risk here from the base system. Switching to RO is mostly a formality/safety belt. Packages may not be so kind.
2. Get a faster/better disk -- They're cheap, and worth a few extra bucks.If you choose option 1, make sure you are on 2.2.4 or later. Do not stay on 2.2.3.
-
So I'm running 2.2.4 on a Sokeris Net5501 with a 133x CF card. A 133x card is roughly 20mb a sec, yet I see posts to the forum by people with 266x CF cards who are also seeing the same issue.
CF cards are cheap and I have no problem buying one of the fastest ones out there, but judging from the experience of a few others that hasn't helped.
So at the moment no one (the devs included) has a firm idea on what the cause is or fix.
-
We know the problem, slow/cheap/iffy disks are slow during to RW to RO transition when it syncs all data to disk. The patch that let it work faster was unsafe because it shortcut that process. It's not just about the rated speed of the card, either. There is no proper,safe, fix at the moment other than to skip the transitions (stay RW) or get a disk that works better/faster.
-
jimp, i for one am not using slow/cheap/iffy disks (i have used five different of CF card types to test ..kingston, sandisk, etc, and the slowest has been an x266) and i still experience the problems.
for example: slow loading of the dashboard after login, EXTREMELY slow rule savings, EXTREMELY slow routing setups, and slow loading any RRD graphs…..just to name a couple examplesfor instance...i have run a tests on six different hardware firewalls
taking the SAME EXACT model CF card(s) and running 2.2.2 in the different hardware firewalls ... i do NOT experience the slowness across the board.
2.2.3-4 causes the slowness.
i currently have the systems set as RW and not RO.so...i know for a fact the cards nor the hardware configurations (rules & routing) are the issue(s).
the ONLY thing that changed was going from 2.2.2 release amd64 TO 2.2.3-4 release amd64 with the systems set as RWone example of the hardware i used in the test(s) that is strictly used for firewall(s) purposes without other packages installed, and DNS forwarded ... i listed below
hardware: ONE Watchguard XTM 1050 (configured with 4 of the 1gbps interfaces assigned to diverse internet providers which are between 20-55% utilized tops) - (using nanobsd instead of the hdd connection, long story as to why...but it has worked great until latest release(s))
specs - Intel(R) Xeon(R) CPU E5410 @ 2.33GHz - 8 CPUs: 2 package(s) x 4 core(s) @ 0.18, 0.10, 0.11 ….. with 17% of 8156 MB ram –- as it sits running 2.2.4 release am64sooooo…....??
-
Well…. So. UFS without the patch performs like garbage on CF. There's a serious performance bug somewhere that noone upstream ever fixed.
-
2.2.2 and before had the dangerous patch to speed things up. Yes, it was faster, but it was taking an unacceptably dangerous shortcut.
2.2.3 removed the patch (If you have registered for access to the -tools repo, you can see where the patch was removed here. It was already deactivated at that point).
Over a month ago I tried with several cards and different operating systems/versions while we were trying to understand the problem better. The Sandisk 200x card and the generic PC Engines 4GB card I have were the only ones that were "fast" on 2.2.3+. A Sandisk 100x and Kingston 133x were still slow.
Results of the testing I did (basically a while loop that repeated switching to RW, performing some filesystem operations, and then switching back to RO):
If you look at some of the columns on 2.2.2 you can see where basically the RO switch was a bit of a NOOP while others show it processing data to disk.
The patch is gone and not coming back, so the choices are, as stated: Stay RW or use a different disk. It's not just the rated speed of the disk, but likely also the quality of the controller on the disk.
FYI- Here is the disk I use/like and that is fast:
And it identifies as:ada0: <sandisk sdcfh-004g="" hdx="" 6.03=""> CFA-0 device</sandisk>
EDIT: Note: All of that testing was performed on an ALIX 2d3
-
Thank you, your last post was very informative and gave a much better understanding of the issue. I was THIS close to downgrading to 2.2.2, but I'll instead place an order for that specific CF card.
pFsense has recently been locking up on me randomly when trying to login to the WebGUI and I'm thinking this maybe related. All routing stops but you can still ping the internal interface.