SOLVED Dashboard - Endless loading on CPU and Ram

corin.corvus

Dabbler
Joined
Oct 21, 2022
Messages
23
Hi,

how can i fix this problem? The CPU and Ram Dashboard Widgets loading endless. I only can workaround with reload the Site.

1666544963464.png


Thanks
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Hi,

how can i fix this problem? The CPU and Ram Dashboard Widgets loading endless. I only can workaround with reload the Site.
Thanks

You're going to have to provide more details. Are you running Windows? Linux? Which browser? Firefox? Chrome? Internet Exploder? Edge? Any extensions? Antivirus software? There are so many things that can interfere with displays.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Please read the forum rules at the top of the page and then post the specs of your system and what web browser you are using. Which leads me to my first question... Have you tried a different web browser?
 

corin.corvus

Dabbler
Joined
Oct 21, 2022
Messages
23
Ok

I tried over:
System 1:
Windows 11
Firefox (Addons)
Antivirus Windefender
Chrome
Opera
Remote Desktop Manager


System 2
Debian
Firefox
No Antivirus
Chrome

System 3:
Windows 10
Firefox
Chrome
Opera
No Antivirus

System 4:
Android
Firefox
Chrome

System 5:
Workstation on Work via VPN
Firefox
Chrome


On all Systems the same Problem, if i simply click on Dashboard. No clientproblem.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Please read the forum rules at the top of the page and then post the specs of your system
What are you running TrueNAS on? Motherboard, CPU, RAM, Hard Drives, Boot Drive? I can infer that you are using an i5-4460 CPU which is good. What version of Scale are you running? We already understand that you cannot get the GUI to populate using different web browsers.

Are you on the same network as the NAS? Meaning that you are physically there at the server directly connected to that network, not just remote accessing it?

I only can workaround with reload the Site.
So reloading the site populates the GUI?
 

corin.corvus

Dabbler
Joined
Oct 21, 2022
Messages
23
What are you running TrueNAS on? Motherboard, CPU, RAM, Hard Drives, Boot Drive? I can infer that you are using an i5-4460 CPU which is good. What version of Scale are you running? We already understand that you cannot get the GUI to populate using different web browsers.

MSI H81I
I5-4460 4/4
16GB Ram (I dont know which one at the moment)
System Sata SSD: Crucial M4 (not sure, is in the case) with 128gb
1 Samsung Pro Sata SSD with 256gb for Apps (2 Apps are installed for testing)
2x WD Red 8TB
1x WD Red 4TB
Truenas Scale 22.02.4

I tested in the same Network and in my Clientnet.
Physical iam on the same Switch with my Devices. I tested with layer 2 Switch too.

Sometimes it works after one Reload, sometimes after two reloads. After Login it work every time.

Here a Video (Dont show the small Password. Is a Test Installation)
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
Thank you for providing the video, now it all makes sense to me.

I would submit a bug report for this issue and make sure to reference the video.

I would say something like this:
After logging into the TrueNAS GUI, and going through a few various menus, when returning to the Dashboard the CPU and Hard Drive Capacity widgets continuously are waiting for data to be displayed. After multiple screen refreshes the data eventually will load.

Sorry, that is the best I can do to help you if you have already tried other web browsers. I will give this a test when I get home tonight to see if I can replicate it. I will post my results in this thread.
 

corin.corvus

Dabbler
Joined
Oct 21, 2022
Messages
23
I tested last week some things, before i wanted to create an Issue.

So i add "System Information" on the Dashboard and i dont know why, but if i add "System Information" the problem is gone. If i remove it, it come back.

Simply this Widget solve the Problem.
 

bryanpedini

Cadet
Joined
Mar 15, 2022
Messages
4
I tested last week some things, before i wanted to create an Issue.

So i add "System Information" on the Dashboard and i dont know why, but if i add "System Information" the problem is gone. If i remove it, it come back.

Simply this Widget solve the Problem.
I noted this too,
Just came to the forums to see if anybody else noted this on SCALE after the last (couple?) updates...

System Information seems to bring the relevant data to the frontend, maybe the CPU and Memory widgets reference data that wihout the sysinfo widget too the data doesn't exist?
Poking around in F12 under network I notice a websocket which when the sysinfo widget is not present these two messages are not sent
Code:
{
  "msg": "added",
  "collection": "reporting.realtime",
  "fields": {
    "zfs": {
      "arc_max_size": 4099213312,
      "arc_size": 4099782176,
      "cache_hit_ratio": 0.9977982586608664
    },
    "memory": {
      "classes": {
        "page_tables": 6934528,
        "swap_cache": 41750528,
        "slab_cache": 1006882816,
        "cache": 194240512,
        "buffers": 2846720,
        "unused": 1800163328,
        "arc": 4099782176,
        "apps": 1045826016
      },
      "extra": {
        "inactive": 1160945664,
        "committed": 1823715328,
        "active": 210235392,
        "vmalloc_used": 471199744,
        "mapped": 38735872
      },
      "swap": {
        "used": 70148096,
        "total": 4294828032
      }
    },
    "virtual_memory": {
      "total": 8198426624,
      "available": 1753620480,
      "percent": 78.6,
      "used": 6170136576,
      "free": 1800163328,
      "active": 210235392,
      "inactive": 1160945664,
      "buffers": 2846720,
      "cached": 225280000,
      "shared": 36868096,
      "slab": 1006882816
    },
    "cpu": {
      "0": {
        "user": 0.5,
        "nice": 0,
        "system": 0,
        "idle": 99.5,
        "iowait": 0,
        "irq": 0,
        "softirq": 0,
        "steal": 0,
        "guest": 0,
        "guest_nice": 0,
        "usage": 0.5
      },
      "1": {
        "user": 0.9950248756218906,
        "nice": 0,
        "system": 0,
        "idle": 99.00497512437812,
        "iowait": 0,
        "irq": 0,
        "softirq": 0,
        "steal": 0,
        "guest": 0,
        "guest_nice": 0,
        "usage": 0.9950248756218906
      },
      "2": {
        "user": 0.4975124378109453,
        "nice": 0,
        "system": 0.4975124378109453,
        "idle": 99.00497512437812,
        "iowait": 0,
        "irq": 0,
        "softirq": 0,
        "steal": 0,
        "guest": 0,
        "guest_nice": 0,
        "usage": 0.9950248756218906
      },
      "3": {
        "user": 0.5,
        "nice": 0,
        "system": 0,
        "idle": 99.5,
        "iowait": 0,
        "irq": 0,
        "softirq": 0,
        "steal": 0,
        "guest": 0,
        "guest_nice": 0,
        "usage": 0.5
      },
      "4": {
        "user": 1,
        "nice": 0,
        "system": 1,
        "idle": 98,
        "iowait": 0,
        "irq": 0,
        "softirq": 0,
        "steal": 0,
        "guest": 0,
        "guest_nice": 0,
        "usage": 2
      },
      "5": {
        "user": 0,
        "nice": 0,
        "system": 0,
        "idle": 100,
        "iowait": 0,
        "irq": 0,
        "softirq": 0,
        "steal": 0,
        "guest": 0,
        "guest_nice": 0,
        "usage": 0
      },
      "6": {
        "user": 2,
        "nice": 0,
        "system": 1.5,
        "idle": 96.5,
        "iowait": 0,
        "irq": 0,
        "softirq": 0,
        "steal": 0,
        "guest": 0,
        "guest_nice": 0,
        "usage": 3.5000000000000004
      },
      "7": {
        "user": 0.9950248756218906,
        "nice": 0,
        "system": 0,
        "idle": 99.00497512437812,
        "iowait": 0,
        "irq": 0,
        "softirq": 0,
        "steal": 0,
        "guest": 0,
        "guest_nice": 0,
        "usage": 0.9950248756218906
      },
      "average": {
        "user": 0.8711885500933417,
        "nice": 0,
        "system": 0.5600497822028625,
        "idle": 98.5687616677038,
        "iowait": 0,
        "irq": 0,
        "softirq": 0,
        "steal": 0,
        "guest": 0,
        "guest_nice": 0,
        "usage": 1.4312383322962041
      },
      "temperature_celsius": {
        "0": 23,
        "1": 26,
        "2": 22,
        "3": 22
      },
      "temperature": {
        "0": 2962,
        "1": 2992,
        "2": 2952,
        "3": 2952
      }
    },
    "interfaces": {
      "enp4s0": {
        "link_state": "LINK_STATE_UP",
        "speed": 1000,
        "received_bytes": 2392,
        "sent_bytes": 11005,
        "received_bytes_rate": 1196,
        "sent_bytes_rate": 5502.5
      },
      "vlan60": {
        "link_state": "LINK_STATE_UP",
        "speed": 1000,
        "received_bytes": 2098,
        "sent_bytes": 11005,
        "received_bytes_rate": 1049,
        "sent_bytes_rate": 5502.5
      },
      "vlan90": {
        "link_state": "LINK_STATE_UP",
        "speed": 1000,
        "received_bytes": 0,
        "sent_bytes": 0,
        "received_bytes_rate": 0,
        "sent_bytes_rate": 0
      }
    },
    "disks": {
      "read_opts": 16,
      "read_bytes": 0,
      "write_ops": 32,
      "write_bytes": 0,
      "busy": 9.405405431985855
    }
  }
}


Maybe this is useful information?
LMK :)

Thanks,
Bryan.
 

fenichelar

Dabbler
Joined
Jul 5, 2022
Messages
20
@corin.corvus and @bryanpedini you may be on to something. I am also experiencing the issue with the CPU and Memory widgets not loading but the issue only occurs on my phone (iOS, Safari). The System Information widget, like all widgets, isn't shown unless expanded on small screens (like a phone).
 
Top