[Bug 1032027] New: btrfs cleaner => freeze
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 Bug ID: 1032027 Summary: btrfs cleaner => freeze Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: epistemepromeneur@free.fr QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- each time btrfs cleaner is active then all dialogs are freezed. we must wait for the end to use our pc. on a slow laptop we must wait several minutes! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c1 Andreas Stieger <astieger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |dsterba@suse.com |ovo.novell.com | --- Comment #1 from Andreas Stieger <astieger@suse.com> --- David, is that for you? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c2 Felipe Abrahao <felipesabrahao@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |felipesabrahao@gmail.com Assignee|dsterba@suse.com |felipesabrahao@gmail.com Flags| |needinfo? --- Comment #2 from Felipe Abrahao <felipesabrahao@gmail.com> --- Created attachment 751129 --> http://bugzilla.opensuse.org/attachment.cgi?id=751129&action=edit Hardware Information -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c3 --- Comment #3 from Felipe Abrahao <felipesabrahao@gmail.com> --- (In reply to Felipe Abrahao from comment #2)
Created attachment 751129 [details] Hardware Information
I confirm the same issue here on my Tumbleweed on a Lenovo Yoga 520 a few minutes ago. My pc is a 6th gen i7 and it remained freezed for +30min and only stop after I applied the workaround below. The workaround that seems to have worked was to disable quota on the system folder "/" with the command "btrfs quota disable /" . Let's see if the system remain stable. In fact, it seems to be a known serious issue on btrfs fyle systems and there are some good problem reporting on this if you google it. I also would like to know more information from experts on what are the implications of disabling quota in openSUSE (Tumbleweed/Leap) or related distros? The information I found on the web was very dubious on that matter. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 Christoph Wickert <christoph.wickert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christoph.wickert@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c4 --- Comment #4 from Episteme PROMENEUR <epistemepromeneur@free.fr> --- for me i get a gui freeze or a slow gui when: - opening a session baloo does many disk accesses - updating packages snapper does many disk accesses - brtrfs cleans then does many disk accesses these 3 cases have one thing in common : BTRFS i got no problem with opensuse 13.2 , ext4 and baloo doing many disk accesses. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c5 David R <kaigue7@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kaigue7@gmail.com --- Comment #5 from David R <kaigue7@gmail.com> --- Maybe is has something to do with swap being used (high drive usage?)? I get these, too on Leap 42.3 on my notebook with 8GB RAM, when swappiness=60 and I'm using around 5GB. I changed swappiness to 10 now and will continue to watch. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 Felipe Abrahao <felipesabrahao@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|felipesabrahao@gmail.com | Assignee|felipesabrahao@gmail.com |bnc-team-screening@forge.pr | |ovo.novell.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Leap 42.2 |Leap 42.3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 Oleksandr Orlov <oorlov@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1091933 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c6 Holger Hees <holger.hees@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |holger.hees@gmail.com --- Comment #6 from Holger Hees <holger.hees@gmail.com> --- for me, the same happens with Leap 15 and kernel 4.12.14-lp150.12.7-default from time to time if I wake up my laptop, the system is completely unresponsive for several minutes until the btrfs process is done. my system is a i7-7700HQ, 16GB Memory and a 512GB SSD -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c7 Yunhe Guo <yunhe.guo@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yunhe.guo@protonmail.com --- Comment #7 from Yunhe Guo <yunhe.guo@protonmail.com> --- *** Bug 1077015 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 Yunhe Guo <yunhe.guo@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i@guoyunhe.me -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 Yunhe Guo <yunhe.guo@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|yunhe.guo@protonmail.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 Tobias Polzin <polzin@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |polzin@gmx.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 Frank Kruger <fkrueger@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fkrueger@mailbox.org -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c8 --- Comment #8 from Episteme PROMENEUR <epistemepromeneur@free.fr> --- i advice to use ext4 or xfs for "/" partition for slow hardware. i experimented ext4 with success. for those who can add a M.2 (pcie or nvme) or a sata ssd perhaps if they put "/" on it this may solve the problem. today a good little ssd is not so much expensive. see here https://www.tomshardware.fr/comparatif-geant-de-ssd-117-modeles-en-test/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c10 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbrabec@suse.com --- Comment #10 from Stanislav Brabec <sbrabec@suse.com> --- I can confirm this problem on openSUSE Tumbleweed. But my computer is not a slow computer. It is a brand new Dell Presicion 5820 with 32 GB RAM and 7 processors Intel(R) Xeon(R) W-2123 CPU @ 3.60GHz. I decided to not split /home on my machine, so the whole system is on a 500GB btrfs SSD (Micron 1300 SATA). The freeze is not absolute. I am still able to make simple things. But for example "exec su -" takes nearly one minute to display prompt. I need to wait tens of minutes to be able to work normally again. During the freeze, two processes show 100% load: btrfs-cleaner btrfs-transacti -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c11 --- Comment #11 from Stanislav Brabec <sbrabec@suse.com> --- Bug 1111523 is probably a duplicate. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 Frank Kruger <fkrueger@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|fkrueger@mailbox.org | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c12 Sekhemty - <sekhemty@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sekhemty@gmail.com --- Comment #12 from Sekhemty - <sekhemty@gmail.com> --- I've reported a similar issue on the forums: https://forums.opensuse.org/showthread.php/537591-btrfs-transacti-heavy-disk... I'm on Tumbleweed,[btrfs-transacti] has an heavy disk I/O and write usage. This usage seems to be constant, and renders the system unresponsive even for many minutes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c13 --- Comment #13 from Stanislav Brabec <sbrabec@suse.com> --- I just digged the internet a bit, and probably found a work-around. After 50 minutes that my system was totally irresponsive and 100% of one CPU time was consumed by btrfs-cleaner, I tried "btrfs quota disable /" and the system immediately returned to a normal work. goblin:~ # btrfs qgroup show / WARNING: qgroup data inconsistent, rescan recommended qgroupid rfer excl -------- ---- ---- 0/5 16.00KiB 16.00KiB 0/256 16.00KiB 16.00KiB 0/258 36.36GiB 36.36GiB 0/259 16.00KiB 16.00KiB 0/260 16.93MiB 16.93MiB 0/261 16.00KiB 16.00KiB 0/262 60.09MiB 60.09MiB 0/263 208.97MiB 208.97MiB 0/264 3.41MiB 3.41MiB 0/265 16.00KiB 16.00KiB 0/266 1.68MiB 1.68MiB 0/267 171.24GiB 481.68MiB 0/568 207.82GiB 1.33GiB 0/570 207.89GiB 598.05MiB 0/580 208.44GiB 40.92MiB 0/581 16.00KiB 16.00KiB 0/582 208.48GiB 20.84MiB 0/608 164.04GiB 76.45MiB 0/609 163.75GiB 86.62MiB 0/620 164.38GiB 35.93MiB 0/623 164.51GiB 207.21MiB 0/676 171.32GiB 932.00KiB 0/677 171.32GiB 804.00KiB 0/678 171.32GiB 672.00KiB 0/679 171.32GiB 932.00KiB 0/680 171.32GiB 624.00KiB 0/681 171.32GiB 1.28MiB 0/682 171.38GiB 876.00KiB 0/683 171.38GiB 1.54MiB 0/685 171.38GiB 596.00KiB 0/686 171.39GiB 3.06MiB 1/0 227.40GiB 56.04GiB 255/581 16.00KiB 16.00KiB goblin:~ # btrfs quota disable / goblin:~ # btrfs qgroup show / ERROR: can't list qgroups: quotas not enabled -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c14 Ales Seifert <seifert@alesak.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seifert@alesak.net Version|Leap 15.1 |Leap 15.2 --- Comment #14 from Ales Seifert <seifert@alesak.net> --- We just had the same issue two days in the row on our DB server which freezed in the middle of business hours for 10-15 minutes. System was not absolutely frozen but even ssh login took a 30 sec before succeeded. Executing anything from shell was taking a long delay before able to run. The "top" command reveled 100% CPU utilization on btrfs-cleaner kernel thread. I was able eventually run "btrfs quota disable /" and system started to be responsive again after a while. It was in the middle of the day and as a database server running MariaDB and PostgreSQL it is not acceptable for the server to stop responding and do some btfrs cleanup even for few seconds nor 15 minutes IMHO. Server: Leap15.2 up to date, 32GB RAM, SSD 512GB, 2x8core XEON, FS 20% full We are using timeline and number snapshots on /backups subvolume and number snapshost (created by zypper) on / Is there any way I can help to resolve this issue? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c15 --- Comment #15 from Episteme PROMENEUR <epistemepromeneur@free.fr> --- 3 years ! What does happen ? Problem still there with openSuse 15.2. For many users cleaning is usefull but snapshot are useless. Add an option to disable snapshot to minimize freeze. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c16 --- Comment #16 from Oliver Kurz <okurz@suse.com> --- (In reply to Episteme PROMENEUR from comment #15)
For many users cleaning is usefull but snapshot are useless. Add an option to disable snapshot to minimize freeze.
you can disable snapshots on installation. Also you can disable all services that you think are problematic as well as disable btrfs qgroups. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c17 --- Comment #17 from Episteme PROMENEUR <epistemepromeneur@free.fr> --- (In reply to Oliver Kurz from comment #16)
(In reply to Episteme PROMENEUR from comment #15)
For many users cleaning is usefull but snapshot are useless. Add an option to disable snapshot to minimize freeze.
you can disable snapshots on installation. Also you can disable all services that you think are problematic as well as disable btrfs qgroups.
thanks I am not a techie person. How to disable snapshots after installation ? How to disable qgroups ? What is the consequence of disabling qgroups ? There is only one service which starts at PC startup "btrfsmaintenance-refresh". I assume it is a bad idea to disable this service. No ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c18 --- Comment #18 from Oliver Kurz <okurz@suse.com> --- (In reply to Episteme PROMENEUR from comment #17)
(In reply to Oliver Kurz from comment #16)
(In reply to Episteme PROMENEUR from comment #15)
For many users cleaning is usefull but snapshot are useless. Add an option to disable snapshot to minimize freeze.
you can disable snapshots on installation. Also you can disable all services that you think are problematic as well as disable btrfs qgroups.
thanks
I am not a techie person.
How to disable snapshots after installation ?
I don't know.
How to disable qgroups ?
Sorry, I don't know either.
What is the consequence of disabling qgroups ?
Not sure, likely no space-aware snapshot cleanup.
There is only one service which starts at PC startup "btrfsmaintenance-refresh".
I assume it is a bad idea to disable this service. No ?
Yes, this is why it's there by default :) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1032027 http://bugzilla.opensuse.org/show_bug.cgi?id=1032027#c19 --- Comment #19 from Episteme PROMENEUR <epistemepromeneur@free.fr> --- At Next installation (with openSuse 16 ?) i will choose ext4 for / and /home. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com