Excessive initial Load times for GUI

Started by bigops, April 03, 2018, 06:18:39 AM

Previous topic - Next topic
Hi

I have started noticing that the initial load time for the OPNsense login page has become excessive especially after the recent updates.  The page takes approx 43 seconds to load completely.  Once the initial load is complete then there seems to be no issue.  I have tried multiple browsers and the issue seems to exist in all.  Does anyone else also have noticed this.  I am attaching a screenshot of the page load time captured from Firefox with this. 

Thanks



April 03, 2018, 06:30:38 AM #1 Last Edit: April 03, 2018, 06:33:03 AM by elektroinside
I did noticed a slowdown, but not this big, after i set up multi wan. Do you happen to have multiwan?

In my setup, at first, right after a reboot for example, the GUI fully loads, before all modules/services load. While these still load, refreshing the GUI takes about 10-15 secs to load. Then, when all services fully loaded, the GUI refreshes instantly every time.
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

I do not have multi-wan.  The OPNsense machine is on the same network as the admin box.  So not sure what is causing this. 


This behavior in my box appeard only after multiwan, at least that's when I noticed it. Might be normal, I think the GUI is waiting for modules to load, for data collection to be performed.
OPNsense v18 | HW: Gigabyte Z370N-WIFI, i3-8100, 8GB RAM, 60GB SSD, | Controllers: 82575GB-quad, 82574, I221, I219-V | PPPoE: RDS Romania | Down: 980Mbit/s | Up: 500Mbit/s

Team Rebellion Member

The issue would have been a slight inconvenience other than the fact that the login screen appears while the page is still loading in the background (see attachment) and this screws up TFA as the TFA expires while the page is still loading.