Slow WebUI

Status
Not open for further replies.

evilandy

Dabbler
Joined
Sep 26, 2011
Messages
38
I've just tried this out on Firefox and am still experiencing slow speeds. Had a quick look at the Safari debugger and could see that the menu.json item hangs with a latency of 1.3 minutes.

For reference:

Type: XHR
Status: 200
Cached: No
Size: 25.29 KB
Transferred: 25.61KB
Latency: 1.3min
duration: 64.1ms

Using Safari's web inspector, timeline option.

Everything works though.

It just takes time to plough through the options.
 

0xD0NK3Y

Cadet
Joined
Feb 18, 2014
Messages
5
I experienced identical issues when my FreeNAS box was unable to resolve DNS queries.
Firewall logs showed around 3 DNS requests sent from the FreeNAS box on every pageload of the interface(!).


Perhaps you should check your DNS configuration. In my case FreeNAS is trying to do 3-5 resolves on every page load and doesn't seem to like it when they fail.

When DNS resolution is allowed the slow loading subsides, however my FreeNAS box continues to send 5(!) DNS queries and 6 requests to access pages at 78.46.36.169:80 and 78.129.220.130:80 (both of which appear to be FreeNAS-related IPs) per page load, which seems a little obsessive.
 

Kdog

Cadet
Joined
Jan 24, 2014
Messages
5
Same issues with mine. I have CP|SB|Transmission all going with it as well and they load up as fast as i can hit the button but the GUI for freenas hangs................. such a pain in the ***
 

Mguilicutty

Explorer
Joined
Aug 21, 2013
Messages
52
Something about this makes me think IP conflict, though I recently saw similar behavior occur on a faulty cable run. Switch port had speed (100) and duplex (full) defined and the connected AP was set to auto-negotiate. The AP kept negotiating 100Mb but half duplex. The connection would work sporadically at varying speed, but sometimes fell off the network all together. I wasn't on-site so trying to maintain an SSH session to it was all kinds of fun. New cable run (and proper config on the AP) fixed the issue.

So, its a long shot but check your cables and double check your network.
 

shawndewet

Dabbler
Joined
Feb 28, 2014
Messages
37
I have a new install of FreeNAS 9.2.1.1 on a newly-bought HP MicroServer. Have no problem with data transfer speeds. However the WebGUI is frustratingly slow...after login, the tree menu down the left takes about 2 minutes to load. Opening the Plugins or Jails tabs take 20 to 30 seconds to load their GUIs. The other tabs seem fine. Just the Plugins and Jails tabs frustratingly slow. Because, of course, each time you jump back to these tabs they refresh...again taking 20 to 30 seconds to load up. Any Plugin/Jails related dialogs take around 2 minutes or more to load up. Clicking OK in such dialog causes the tree down the left to refresh...taking another 2 minutes or so.
Reporting tab loads up fine, and shows no stressful CPU load or Memory usage or Disk Usage or Network usage - according to all those graphs the system is really idling.

I have no idea where to start looking for the problem. Any advise would be appreciated.
 

Nathan_S

Dabbler
Joined
Mar 8, 2014
Messages
10
Add me to the SLOW GUI list. Was on 9.2.0 and now on 9.2.1.2 (fresh install). Now I admit, it COULD be the USB drive. I'll be loading a new one this week, just need to schedule the downtime.

Specs:
FreeNAS-9.2.1.2-amd64
CPU: Intel(R) Xeon(R) CPU E5-2407 0 @ 2.20GHz (2194.76-MHz K8-class CPU)
real memory = 51539607552 (49152 MB)
avail memory = 49732837376 (47428 MB)
 

Kdog

Cadet
Joined
Jan 24, 2014
Messages
5
Hi, I've recently updated to FreeNAS-9.2.0-RELEASE-x64and also have a slow GUI. A fast FreeNAS (afp/smb) but slow GUI. I'm on an N36L Microserver with 8GB and a decent higher end Transcend USB. I researched read/write speeds before purchase.

It's worth noting that this wasn't a problem on 9.1 RELEASE.

Thanks,

EA


As cyberjock said, could be the USB drive. I had the same issues before and went out and bought a new sandisk 8Gb jetdrive for $15 as well as installed a fresh version of 9.2.1.2 and it seems to be at least 2 or 3x faster. I did the install first and that seemed to be the biggest help but I'm sure the flash drive helped out as well. Something worth checking out and very inexpensive to test ;)
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
My only argument for the whole "USB" crowd is that the file system is in RAM.. so when you say the GUI is slow, you're really saying "the GUI loaded from the RAM disk is slow". Does that make sense? Now, I'm not disagreeing that some people have gotten a new USB stick and it's work better than the old one. But they reinstalled FreeNAS too, so there's lots of *other* reasons things may have improved.
 

Kdog

Cadet
Joined
Jan 24, 2014
Messages
5
My only argument for the whole "USB" crowd is that the file system is in RAM.. so when you say the GUI is slow, you're really saying "the GUI loaded from the RAM disk is slow". Does that make sense? Now, I'm not disagreeing that some people have gotten a new USB stick and it's work better than the old one. But they reinstalled FreeNAS too, so there's lots of *other* reasons things may have improved.


Very good point. RAM is everything in FreeNAS and with the multiple posts I constantly see with VERY under-rated RAM, I could only guess how many people have issues with this..........
 

gonziak

Cadet
Joined
Apr 10, 2014
Messages
1
Hi,
I just sign up because I had the same problem. There is no problem with RAM, USB, etc. (I replaced RAMs, USB keys, browsers). I've tried FreeNas 9.2.1.3 and the problem is mostly with "plugins" chart in browsers. I back to FN 9.1.1 and problem has gone.
What changes was made in 9.2.1.3? I have to read Release Note of 9.2.1.3 and maybe will found answer what causes problem.
 

climb2bhi

Contributor
Joined
Feb 1, 2012
Messages
108
I'm having the same problem. I have no problem with data transfer speeds (+or- 100 Mbps). However parts ofthe Web GUI are very slow...after login, the tree menu down the left takes about 2 minutes to load. Opening the Plugins or Jails tabs take 20 sec to 1 min to load their GUIs. The other tabs seem fine. Just the Plugins and Jails tabs frustratingly slow. I think it started after upgrading from 9.1.1 to 9.2.1.3?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
If you want to see everything that's changed, go to bugs.freenas.org and do a filter for all patches applied since 9.1.1... there's a few thousand. ;)

I know it sounds like I'm telling you to f-off. But the developers never come in here, so that's the best that is offered. :(
 

entyrion

Explorer
Joined
Apr 3, 2014
Messages
52
I had my own thread on this issue, but I deleted it and thought I'd add my voice here. I'm also seeing a slow UI, though it seems to be specifically the left pane for some reason; the rest of the UI seems snappy and responsive. My install is only about a week or so old and I only noticed this trouble a couple days ago. Changing browsers, clearing their cache/cookies, and rebooting didn't help. I'm considering a fresh install of FreeNAS to see if that will make any difference (as I suspect that this might have been the defining factor for those whose improvement came from changing the USB stick).
 

climb2bhi

Contributor
Joined
Feb 1, 2012
Messages
108
I did a fresh install too. It did correct the left pane problem, but once I uploaded my saved settings the problem was back.
 

entyrion

Explorer
Joined
Apr 3, 2014
Messages
52
I did a fresh install too. It did correct the left pane problem, but once I uploaded my saved settings the problem was back.


Same here. I've since done a fresh install and no difference. Both the left and center pane are really slow now :(
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Same here. I've since done a fresh install and no difference. Both the left and center pane are really slow now :(

What USB stick are you using?

Have you done a consistency check against your config file? Just do the following command at the CLI...


# sqlite3 /data/freenas-v1.db "pragma integrity_check;"

It'll return "ok" if everything is okay. This is only a structural check and not a check for invalid settings, etc.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
darn.. those work too.. Hmm...
 

climb2bhi

Contributor
Joined
Feb 1, 2012
Messages
108
Since the fresh install of 9.2.1.3 has no problems I wonder if it might be that the saved system settings are from 9.2.1.2 or maybe even from 9.2.1.1. And are therefore somehow incompatible?
 

entyrion

Explorer
Joined
Apr 3, 2014
Messages
52
Since the fresh install of 9.2.1.3 has no problems I wonder if it might be that the saved system settings are from 9.2.1.2 or maybe even from 9.2.1.1. And are therefore somehow incompatible?

I don't think it's strictly due to the upgrade process (I initially started with a fresh 9.2.1.3 install just a couple weeks ago), but I think it might be something in the settings....
 
Status
Not open for further replies.
Top