Scale became completely inaccessible. Wondering why

Anyone know what might have caused this behavior I was experiencing last night? I was unable to login to scale web UI (it just hung on the login screen), all of my shares were inaccessible, and ssh was inaccessible. My VMs and Jails were otherwise working perfectly (including being able to ssh into them). I tried rebooting from shell (over IPMI) and it got stuck. I had to hard reboot.

Then everything (for the most part) was working again except my jail did not auto start like normal and I had to manually start it.

I looked at my reporting statistics and noticed some slightly elevated iowait (usually negligible, it jumped to about 5% the last couple days until the reboot). Then I noticed a massive growing spike on system load (image) which correlated with the iowait spike. It was growing over a few days and then the reboot reset it. I haven’t done anything with my system in at least a few weeks, and I am on the latest point release of scale (Dragonfish-24.04.2). I am not using apps system at all.

I have an i5-13500 with 128GB ECC ram and mirrored SSDs for a boot pool.

dmesg output is this at the end (cant include whole thing due to character limit). Not sure if this means anything.

[35658.579679] systemd-journald[987]: Data hash table of /var/log/journal/f52e32                                                                                                                                                             b07c2e4372b9914c87357d75dc/system.journal has a fill level at 75.0 (8533 of 1137                                                                                                                                                             7 items, 6553600 file size, 768 bytes per hash table item), suggesting rotation.
[35658.581180] systemd-journald[987]: /var/log/journal/f52e32b07c2e4372b9914c873                                                                                                                                                             57d75dc/system.journal: Journal header limits reached or header out-of-date, rot                                                                                                                                                             ating.
[35658.621081] systemd-journald[987]: Failed to set ACL on /var/log/journal/f52e                                                                                                                                                             32b07c2e4372b9914c87357d75dc/user-3000.journal, ignoring: Operation not supporte                                                                                                                                                             d
[44014.701416] systemd-journald[987]: Data hash table of /var/log/journal/f52e32                                                                                                                                                             b07c2e4372b9914c87357d75dc/system.journal has a fill level at 75.0 (8533 of 1137                                                                                                                                                             7 items, 6553600 file size, 768 bytes per hash table item), suggesting rotation.
[44014.702743] systemd-journald[987]: /var/log/journal/f52e32b07c2e4372b9914c873                                                                                                                                                             57d75dc/system.journal: Journal header limits reached or header out-of-date, rot                                                                                                                                                             ating.
[44014.752402] systemd-journald[987]: Failed to set ACL on /var/log/journal/f52e                                                                                                                                                             32b07c2e4372b9914c87357d75dc/user-3000.journal, ignoring: Operation not supporte                                                                                                                                                             d
[52584.477868] systemd-journald[987]: Data hash table of /var/log/journal/f52e32                                                                                                                                                             b07c2e4372b9914c87357d75dc/system.journal has a fill level at 75.0 (8534 of 1137                                                                                                                                                             7 items, 6553600 file size, 767 bytes per hash table item), suggesting rotation.
[52584.479064] systemd-journald[987]: /var/log/journal/f52e32b07c2e4372b9914c873                                                                                                                                                             57d75dc/system.journal: Journal header limits reached or header out-of-date, rot                                                                                                                                                             ating.
[52584.512737] systemd-journald[987]: Failed to set ACL on /var/log/journal/f52e                                                                                                                                                             32b07c2e4372b9914c87357d75dc/user-3000.journal, ignoring: Operation not supporte                                                                                                                                                             d
[60180.924231] loop0: detected capacity change from 0 to 2579464
[60180.935520] squashfs: version 4.0 (2009/01/31) Phillip Lougher

This system load seems so absurdly high that it must be a reporting bug. My actual CPU load over this time was relatively normal and mostly idle, except for the 5% iowait. The system processes were steadily climbing from about 2.5k to 5.5k though. And of course, the system was not responsive so something was obviously wrong. Again, VMs and Jails were working perfectly still though.

What do you mean by “jail” in dragonfish?

What is in the “jail”?

A sandbox with jailmaker.

It hosts my docker stack while I wait for EE to become stable. I have not changed anything in that jail since probably June/early July. And every service (except for what relied on NFS, since that was not working) was working fine.

From this, I can’t tell whether it was a docker stack issue or TrueNAS?

If it happens again, try to capture a debug during the event.

Why do you suppose just TrueNAS functionality was impacted? And how should I get debug data when I can’t ssh into the host or access the webui beyond the login screen?

It looks like load increases gradually over 3 days.
It might be a memory leak or something else?
I haven’t see anyone else report… so debug needed.

Sure. I’m just wondering how to do that if the system is unresponsive lol. Or do you mean keep monitoring system load?

But also isn’t that system load like, absurdly impossible? I thought it was something like 1.0 means max usage of one core of cpu or something. Maybe I don’t know what the number means. I was over 400. Normally I’m at like 0.1-0.2 I believe.

It looks like it is based on core utilisation. In any case… if system load is over 100 and steadily climbing, it’s a good chance to do a debug if it happens again.

I guess I am confused then because my CPU usage was pretty normal other than the small jump in iowait. I assume if I had such an impossibly high core utilization, my cpu usage and temps would be much higher no?

Is there a way to monitor the system load average with a notification? Because the issue is I don’t check it everyday and so may not notice until it is too late to get debug data.

TrueCommand has the capability to alert on thresholds.