BTRFS processes take up 100% CPU resources then make logging back in impossible
Posted: 18 Jul 2021, 13:02
TLDR - issue occurs when Snapshot is installed whether enabled or not. It may be due to change introduced in TOS update 4.2.13.
Or you can see the long story below.
My TNAS has always had Text Editor, PDF Reader, Snapshot, and Docker to run Syncthing container. In addition to being my central storage unit, the TNAS also functions as Samba server and Plex Media Server.
It has seen TOS upgraded from 4.1.27 to each update up to 4.2.12 with NO major issue.
Issue described in the subject line started with TOS 4.2.13 update and went on to 4.2.14.
When still able to log in, I could see processes btrfs-transacti and btrfs-cleaner alternately taking 100% of CPU resources. I would leave the TNAS in such state one morning and find it in the same state the next morning. Upon losing the ability to log in after some time from observing the issue, I would continue to revisit the TNAS throughout the day to see if the processes have completed, but to no avail.
Shutting down via the power button and turning the device back on after some hours would not help.
Re-installing TOS has been the only way for me to log back in.
Then I would face the same issue again which has forced me to do a TOS re-install - three times so far between updates 4.2.13 up to TOS Patch 1.10.
I have now removed all snapshot files and uninstalled the Snapshot app.
I'll be back with an update to see if this resolves the issue.
Or you can see the long story below.
My TNAS has always had Text Editor, PDF Reader, Snapshot, and Docker to run Syncthing container. In addition to being my central storage unit, the TNAS also functions as Samba server and Plex Media Server.
It has seen TOS upgraded from 4.1.27 to each update up to 4.2.12 with NO major issue.
Issue described in the subject line started with TOS 4.2.13 update and went on to 4.2.14.
When still able to log in, I could see processes btrfs-transacti and btrfs-cleaner alternately taking 100% of CPU resources. I would leave the TNAS in such state one morning and find it in the same state the next morning. Upon losing the ability to log in after some time from observing the issue, I would continue to revisit the TNAS throughout the day to see if the processes have completed, but to no avail.
Shutting down via the power button and turning the device back on after some hours would not help.
Re-installing TOS has been the only way for me to log back in.
Then I would face the same issue again which has forced me to do a TOS re-install - three times so far between updates 4.2.13 up to TOS Patch 1.10.
I have now removed all snapshot files and uninstalled the Snapshot app.
I'll be back with an update to see if this resolves the issue.