FreeNAS GUI takes a long time to display after a long time of inactivity

KevDog

Patron
Joined
Nov 26, 2016
Messages
462
Hopefully I'll explain things correctly here.

The FreeNas Moden GUI is accessed via a web address from a client browser.
If I haven't kept an open tab in the browser or haven't visited the GUI URL in several days, it seems to take a very long time to load the login page -- like 40-50 seconds sometimes. Once I log in -- the GUI sputters for awhile and then seems to run normal speed. I have no idea if this is due to caching of files/images but its super strange and slightly annoying. Is there anything I can do to increase the "responsiveness" of the GUI in this situation?
 
D

dlavigne

Guest
Could be a DNS or networking issue. Are you accessing by IP address or hostname? Any firewalls, proxies, or subnets in your network?
 

KevDog

Patron
Joined
Nov 26, 2016
Messages
462
I'm actually accessing the repository by IP address on local LAN so that kind of negates anything you need to look up. There is a firewall on the network at the router level but the firewall sits in between WAN/LAN where as I'm talking a LAN<-->LAN connection all on the same subnet with no VLAN tagging. No proxies are available. Not that it helps, but when I'm in this situation I often ping the IP address of FreeNAS to ensure it's still running and it responds right away --- I also no that's kind of stupid since the jails/VMs running on the FreeNAS host seem to be connecting via ssh at normal speed.
 

KevDog

Patron
Joined
Nov 26, 2016
Messages
462
No I wasn't -- happened again this morning. It took nearly 1 minute using chrome to pull up login box -- I had the sharked displayed on the browser screen for nearly a minute before being presented the login box. Once logging in the gui sputtered for a few selections or so, then came up to normal "speed". I usually interact through freenas through using ssh into the jails or VMs -- and I can't say I've ever seen a problem with this approach. I'd love to provide you with more information if I could -- where would I look? I've looked in /var/log -- messages, system, debug. I even looked inside the nginx folder since I thought thought error or access logs would provide more information -- and they didn't help.
 

KevDog

Patron
Joined
Nov 26, 2016
Messages
462
Damn -- I've been trying to access the GUI this morning for like 2 minutes. -- no dice. Just a spinning logo on the browser. What gives? How do I restart the services? SSH access works OK. Netdata shows a lot of potential data over Ipv4. Is there some cache that is filling? RAM usage seems normal with no swap usage as reported per netdata
 

Adrian

Contributor
Joined
Jun 29, 2011
Messages
166
I have been experiencing this, with Chrome, for a long time.
As far as I recall, opening a new browser window gives an instant login.
Also, leaving a browser window running on the FreeNAS or Truecommand dashboard will eventually result in an "Aw Snap" or occasionally "out of memory" error.
Given the absence of widespread complaints about this, I have assumed it is something to do with Chrome extensions.
 

KevDog

Patron
Joined
Nov 26, 2016
Messages
462
Its possible, however I believe I opened Firefox as well and the same thing happened. I'll try again today and confirm.
 

KevDog

Patron
Joined
Nov 26, 2016
Messages
462
No -- can confirm operates the same on Firefox and Safari. Does not seem to be a browser issue
 
Top