Hello all! This is my first post so please let me know if there is something I can do better.
- Update 1
To be super clear, when the system is NOT under load, some job (such as catalog.sync) apepars hung and new jobs can’t start. I don’t know how to find out more about whatever the job is or what is causing it to hang. The entire system typically doesn’t just become unresponsive unless I try to do a soft reset/shutdown, then the whole system becomes unresponsive. It starts the process and kills most services but never actually shuts down or restarts. I’m forced to hard shutdown the device.
Last summer I purchased a Beelink ME mini and a few NVME drives to try out TrueNAS.
Product: ME mini
Model: Intel(R) N150
Memory: 11 GiB
VDEVs: 1 x RAIDZ2 | 5 wide | Mixed Capacity
Though all five drives are the same model (PNY CS1030 2TB), I ordered the 5th drive later in the summer (now nvme5) and it is technically of a slightly higher capacity (1.86 vs. the others at 1.82) so it is technically “Mixed Capacity”.
I kept having issues - services or apps became somewhat if not completely unresponsive every few days. I’d often find catalog.sync ‘Updating catalog repository’ as a running job at a very low %, often started hours if not days ago. If tried to reboot or shutdown the OS from the GUI, it would stop responding entirely and never reboot/shutdown, at least after waiting for 5-10 minutes.
Sometimes I’d check and see an app needed an update, so I’d update it. The job would occasionally just hang indefinitely. Again, I’d give up and try to reboot/shutdown and again it would simply become unresponsive. It mostly sat idle with a few infrequent attempts to troubleshoot.
A few weeks ago I tried to revisit the issue and decided a fresh install of the latest version might fix things - some forum post somewhere mentioned an issue after upgrading from the version I’d first installed where some outdated scripts kept running and causing issues.
In the last two weeks it happened at least three times. Unfortunately, I’ve never had an issue start while I was actively using it. I would go to use it for the first time in a day or two and find it unresponsive so I don’t know exactly when the problems start. There is no log in the GUI that I can find, so I’ve tried journalctl -p err but I don’t see anything that is obvious to me but I’m not too experienced digging through those kinds of logs or recognizing important entries. I’ve not found anything conclusive searching for the text of these errors but again maybe it’s a failure on my part - perhaps it’s because I am foolishly resisting our technology overlords’ commandment to abandon the old ways and direct all queries to their AI chat bots.
I’ve verified that the OS is installed on nvme4 (the only x2 m.2) as per the manufacturer’s diagram and the BIOS. The time in the BIOS is set to UTC. I forced an extended SMART test on all drives and nvme3 & nvme1 both showed failed segments with 7 in the ‘Seg’ column in the current and a few (but not all) historic tests while nvme2 had one historic test 1300 ‘Power_on_Hours’ ago with failed segments showing 7. I’m getting very little on what ‘failed segment’ even means when I look for information.
| Drive | Pool | Error | Hours | Read | Written |
|---|---|---|---|---|---|
| nvme0 | zpool | 155 | 1.90 TB | 1.28 TB | |
| nvme1 | zpool | failed segments 7 | 5,721 | 1.90 TB | 1.28 TB |
| nvme2 | zpool | 5,977 | 1.88 TB | 1.28 TB | |
| nvme3 | zpool | failed segments 7 | 5,831 | 1.74 TB | 1.27 TB |
| nvme4 | boot-pool | 6,163 | 587 GB | 390 GB | |
| nvme5 | zpool | 156 | 1.74 TB | 1.27 TB |
I’m curious how nvme0 shows fewer hours than 1, 2, and 3. Perhaps my initial pool last year only had 3 disks? I honestly don’t remember.
Here is the entirety of journal -p err for the first three boot cycles of running after reinstalling. I believe the issue happened twice. I rebooted through the GUI on the 8th. The next two reboots were due to unresponsiveness.
Jun 08 18:48:42 localhost kernel: proc_thermal_pci 0000:00:04.0: error: proc_thermal_add, will continue
Jun 08 18:48:42 localhost kernel: Error: Driver 'pcspkr' is already registered, aborting...
Jun 08 18:48:43 localhost kernel: usb 3-5.3.4: 2:1: cannot get freq at ep 0x1
Jun 08 18:49:55 truenas systemd[1]: ipa-epn.timer: Refusing to start, unit ipa-epn.service to trigger not loaded.
Jun 08 18:49:55 truenas systemd[1]: Failed to start ipa-epn.timer - Execute IPA Expiring Password Notification (EPN) every day at 1AM.
Jun 08 19:29:34 truenas systemd[1]: Failed unmounting var-log-journal.mount.
Jun 08 19:29:34 truenas systemd[1]: Failed unmounting var-log.mount.
Jun 08 19:29:34 truenas systemd[1]: Failed unmounting var.mount.
Jun 08 19:29:34 truenas kernel: watchdog: watchdog0: watchdog did not stop!
-- Boot bfa874b796ea411c9b1b73ba3edf5ae9 --
Jun 08 19:30:17 truenas kernel: proc_thermal_pci 0000:00:04.0: error: proc_thermal_add, will continue
Jun 08 19:30:17 truenas kernel: Error: Driver 'pcspkr' is already registered, aborting...
Jun 08 19:30:59 truenas systemd[1]: ipa-epn.timer: Refusing to start, unit ipa-epn.service to trigger not loaded.
Jun 08 19:30:59 truenas systemd[1]: Failed to start ipa-epn.timer - Execute IPA Expiring Password Notification (EPN) every day at 1AM.
Jun 13 11:46:22 Mini-NAS kernel: INFO: task txg_sync:1270 blocked for more than 120 seconds.
Jun 13 11:46:22 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 13 11:46:22 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 13 11:50:24 Mini-NAS kernel: INFO: task IoThread:1090 blocked for more than 120 seconds.
Jun 13 11:50:24 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 13 11:50:24 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 13 11:52:25 Mini-NAS kernel: INFO: task IoThread:1090 blocked for more than 241 seconds.
Jun 13 11:52:25 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 13 11:52:25 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 13 11:54:25 Mini-NAS kernel: INFO: task IoThread:1090 blocked for more than 362 seconds.
Jun 13 11:54:25 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 13 11:54:25 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 13 11:56:26 Mini-NAS kernel: INFO: task IoThread:1090 blocked for more than 483 seconds.
Jun 13 11:56:26 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 13 11:56:26 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 13 11:58:27 Mini-NAS kernel: INFO: task IoThread:1090 blocked for more than 604 seconds.
Jun 13 11:58:27 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 13 11:58:27 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 13 12:00:28 Mini-NAS kernel: INFO: task IoThread:1090 blocked for more than 724 seconds.
Jun 13 12:00:28 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 13 12:00:28 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 13 12:02:29 Mini-NAS kernel: INFO: task IoThread:1090 blocked for more than 845 seconds.
Jun 13 12:02:29 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 13 12:02:29 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 13 12:04:30 Mini-NAS kernel: INFO: task IoThread:1090 blocked for more than 966 seconds.
Jun 13 12:04:30 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 13 12:04:30 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 13 12:06:30 Mini-NAS kernel: INFO: task IoThread:1090 blocked for more than 1087 seconds.
Jun 13 12:06:30 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 13 12:06:30 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
-- Boot ffcb75f53bba42a9bfaeec937eba8aae --
Jun 13 15:10:53 Mini-NAS kernel: proc_thermal_pci 0000:00:04.0: error: proc_thermal_add, will continue
Jun 13 15:10:53 Mini-NAS kernel: Error: Driver 'pcspkr' is already registered, aborting...
Jun 13 15:11:35 Mini-NAS systemd[1]: ipa-epn.timer: Refusing to start, unit ipa-epn.service to trigger not loaded.
Jun 13 15:11:35 Mini-NAS systemd[1]: Failed to start ipa-epn.timer - Execute IPA Expiring Password Notification (EPN) every day at 1AM.
Jun 18 12:22:59 Mini-NAS kernel: INFO: task txg_sync:1247 blocked for more than 120 seconds.
Jun 18 12:22:59 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 18 12:22:59 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 18 12:29:02 Mini-NAS kernel: INFO: task python.d.plugin:4158 blocked for more than 120 seconds.
Jun 18 12:29:02 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 18 12:29:02 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 18 12:31:03 Mini-NAS kernel: INFO: task python.d.plugin:4158 blocked for more than 241 seconds.
Jun 18 12:31:03 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 18 12:31:03 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 18 12:33:04 Mini-NAS kernel: INFO: task python.d.plugin:4158 blocked for more than 362 seconds.
Jun 18 12:33:04 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 18 12:33:04 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 18 12:35:04 Mini-NAS kernel: INFO: task python.d.plugin:4158 blocked for more than 483 seconds.
Jun 18 12:35:04 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 18 12:35:04 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 18 12:37:05 Mini-NAS kernel: INFO: task python.d.plugin:4158 blocked for more than 604 seconds.
Jun 18 12:37:05 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 18 12:37:05 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 18 12:39:06 Mini-NAS kernel: INFO: task python.d.plugin:4158 blocked for more than 724 seconds.
Jun 18 12:39:06 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 18 12:39:06 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 18 12:41:07 Mini-NAS kernel: INFO: task python.d.plugin:4158 blocked for more than 845 seconds.
Jun 18 12:41:07 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 18 12:41:07 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 18 12:43:08 Mini-NAS kernel: INFO: task python.d.plugin:4158 blocked for more than 966 seconds.
Jun 18 12:43:08 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 18 12:43:08 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jun 18 12:45:09 Mini-NAS kernel: INFO: task python.d.plugin:4158 blocked for more than 1087 seconds.
Jun 18 12:45:09 Mini-NAS kernel: Tainted: P OE 6.12.91-production+truenas #1
Jun 18 12:45:09 Mini-NAS kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
-- Boot 7b8252a5febe4f0298a37309f965d165 --
I’ve found similar log entries, not flagged as errors, repeating with the eid incrementing. This might be significant since the ‘delay’ is often VERY long but I’ve found very few mentions of class=deadman to understand what it means.
Jun 13 12:17:28 Mini-NAS zed[1807026]: eid=321 class=deadman pool='zpool' vdev=29dc30bb-f85a-4a34-a379-b98ec4f345bf size=20480 offset=103349219328 priority=0 err=0 flags=0x300080 delay=405391406ms bookmark=438:28743:0:36
...
Jun 13 14:42:52 Mini-NAS zed[1843557]: eid=463 class=deadman pool='zpool' vdev=29dc30bb-f85a-4a34-a379-b98ec4f345bf size=20480 offset=103349219328 priority=0 err=0 flags=0x300080 delay=405391406ms bookmark=438:28743:0:36
Jun 18 14:27:43 Mini-NAS zed[1777100]: eid=115 class=deadman pool='zpool' vdev=25c9adc9-6f70-422d-a816-d3a2f28676e0 size=4096 offset=580958289920 priority=1 err=0 flags=0x300080 delay=428807657ms bookmark=3209:0:-2:17717
...
Jun 19 14:36:40 Mini-NAS zed[2107205]: eid=1530 class=deadman pool='zpool' vdev=25c9adc9-6f70-422d-a816-d3a2f28676e0 size=4096 offset=580958289920 priority=1 err=0 flags=0x300080 delay=428807657ms bookmark=3209:0:-2:17717
Jun 20 03:10:36 Mini-NAS zed[182956]: eid=111 class=deadman pool='zpool' vdev=f6730fb0-c854-4088-923a-60eddd72c850 size=36864 offset=53482278912 priority=0 err=0 flags=0x300080 delay=42126899ms bookmark=438:26386:0:13
...
Jun 20 12:02:04 Mini-NAS zed[307261]: eid=630 class=deadman pool='zpool' vdev=f6730fb0-c854-4088-923a-60eddd72c850 size=36864 offset=53482278912 priority=0 err=0 flags=0x300080 delay=42126899ms bookmark=438:26386:0:13
This morning I wanted to try something so I enabled containers on the pool.
Jun 21 08:35:01 Mini-NAS systemd[1]: Started lxcfs.service - FUSE filesystem for LXC.
Jun 21 08:35:01 Mini-NAS systemd[1]: Starting incus.service - Incus - Main daemon...
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: Running constructor lxcfs_init to reload liblxcfs
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: mount namespace: 5
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: hierarchies:
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: 0: fd: 6: cpuset,cpu,io,memory,hugetlb,pids,rdma,misc
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: Kernel supports pidfds
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: Kernel does not support swap accounting
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: api_extensions:
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - cgroups
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - sys_cpu_online
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - proc_cpuinfo
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - proc_diskstats
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - proc_loadavg
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - proc_meminfo
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - proc_stat
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - proc_swaps
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - proc_uptime
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - proc_slabinfo
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - shared_pidns
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - cpuview_daemon
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - loadavg_daemon
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: - pidfds
Jun 21 08:35:01 Mini-NAS lxcfs[302018]: Ignoring invalid max threads value 4294967295 > max (100000).
Jun 21 08:35:01 Mini-NAS kernel: NET: Registered PF_VSOCK protocol family
The GUI had two jobs running indefinitely and the containers UI was unresponsive until I eventually shut it down 40 minutes later. No subsequent log entries from lxcfs or kernel until after it restarted. This is behavior similar to the initial problems I’d experience before I reinstalled.
Any help would be greatly appreciated.
Updates:
I can’t rule out a power issue but I don’t think it’s likely. The issues don’t occur under load it may be a power issue, though I want to explore other options.