Web interface fails to load

TrueNAS Scale Version: 24.04.1.1

After a power outage, with server up for more than a month, Web interface fails to load.

“ui_address”: [ “192.168.68.24” ]
Works for ping and ssh.

See errors on service middlewared restart

Any ideas appreciated.

service middlewared restart
Failed to allocate directory watch: Too many open files
<syslog shows>
Oct 26 05:11:24 tower systemd[1]: Stopping middlewared.service - TrueNAS Middleware...
Oct 26 05:11:24 tower systemd[1]: Reloading nginx.service - A high performance web server and a reverse proxy server...
Oct 26 05:11:24 tower nginx[153091]: 2024/10/26 05:11:24 [notice] 153091#153091: signal process started
Oct 26 05:11:24 tower systemd[1]: Reloaded nginx.service - A high performance web server and a reverse proxy server.
Oct 26 05:11:24 tower libvirtd[4117]: End of file while reading data: Input/output error
Oct 26 05:11:24 tower libvirtd[4117]: End of file while reading data: Input/output error
Oct 26 05:11:24 tower systemd[1]: middlewared.service: Main process exited, code=killed, status=9/KILL
Oct 26 05:11:24 tower systemd[1]: middlewared.service: Failed with result 'signal'.
Oct 26 05:11:24 tower systemd[1]: Stopped middlewared.service - TrueNAS Middleware.
Oct 26 05:11:24 tower systemd[1]: middlewared.service: Consumed 18.410s CPU time.

// midclt call system.general.config | jq
{
  "id": 1,
  "language": "en",
  "kbdmap": "us",
  "timezone": "America/New_York",
  "wizardshown": false,
  "usage_collection": true,
  "ds_auth": false,
  "ui_address": [
    "192.168.68.24"
  ],
  "ui_v6address": [
    "::"
  ],
  "ui_allowlist": [],
  "ui_port": 80,
  "ui_httpsport": 443,
  "ui_httpsredirect": true,
  "ui_httpsprotocols": [
    "TLSv1.2",
    "TLSv1.3"
  ],
  "ui_x_frame_options": "SAMEORIGIN",
  "ui_consolemsg": true,
  "ui_certificate": {
    "id": 10,
    "type": 8,
    "name": "nerdsbythehour-acme",
    "certificate": "-----BEGIN CERTIFICATE----
    "truncated": "-"
  }
}

My research indicates that you need to increase the inotify limits.