[SOLVED] Btfrs and baloo_file_extractor issue

You may want to forgive me.
It was rightly pointed out to me offline (thanks @TNE :blush:) that this can create problems.

Please remove it commenting both lines and then

sudo pacman -Syyuu
2 Likes

Did the suggested changes to /etc/pacman.
garuda-inxi:

System:
Kernel: 5.16.8-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=6cafe1ae-53e0-4003-8e56-0566259c4051 rw [email protected]
loglevel=3 quiet
Desktop: KDE Plasma 5.24.0 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: ASUS product: All Series v: N/A
serial:
Mobo: ASUSTeK model: H97M-E v: Rev X.0x serial:
UEFI: American Megatrends v: 2702 date: 03/28/2016
CPU:
Info: model: Intel Core i5-4690 bits: 64 type: MCP arch: Haswell family: 6
model-id: 0x3C (60) stepping: 3 microcode: 0x28
Topology: cpus: 1x cores: 4 smt: cache: L1: 256 KiB
desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
desc: 1x6 MiB
Speed (MHz): avg: 3517 high: 3707 min/max: 800/3900 scaling:
driver: intel_cpufreq governor: performance cores: 1: 3707 2: 3375 3: 3494
4: 3492 bogomips: 27935
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: disabled, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
vendor: ASUSTeK driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0412
class-ID: 0300
Device-2: Logitech HD Webcam C615 type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 3-3:2 chip-ID: 046d:082c
class-ID: 0e02 serial:
Display: x11 server: X.Org 1.21.1.3 compositor: kwin_x11 driver:
loaded: intel unloaded: modesetting alternate: fbdev,vesa display-ID: :0
screens: 1
Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 422x237mm (16.6x9.3")
s-diag: 484mm (19.1")
Monitor-1: HDMI2 res: 1600x900 hz: 60 dpi: 58
size: 700x390mm (27.6x15.4") diag: 801mm (31.5")
OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2)
v: 4.5 Mesa 21.3.5 compat-v: 3.0 direct render: Yes
Audio:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:03.0
chip-ID: 8086:0c0c class-ID: 0403
Device-2: Intel 9 Series Family HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8ca0
class-ID: 0403
Device-3: Logitech HD Webcam C615 type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 3-3:2 chip-ID: 046d:082c
class-ID: 0e02 serial:
Sound Server-1: ALSA v: k5.16.8-zen1-1-zen running: yes
Sound Server-2: JACK v: 1.9.20 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.45 running: no
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK AM1I-A driver: r8169 v: kernel port: e000 bus-ID: 03:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: down mac:
Device-2: Ralink RT5572 Wireless Adapter type: USB driver: rt2800usb
bus-ID: 3-10:5 chip-ID: 148f:5572 class-ID: 0000 serial:
IF: wlp0s20u10 state: up mac:
Drives:
Local Storage: total: 4.55 TiB used: 1.82 TiB (40.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD5000AACS-00ZUB0 size: 465.76 GiB block-size: physical: 512 B
logical: 512 B speed: 3.0 Gb/s type: N/A serial: rev: 1B01
scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD40EFRX-68WT0N0 size: 3.64 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial:
rev: 0A82 scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD5000LPVX-80V0TT0 size: 465.76 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial:
rev: 1A01 scheme: GPT
Partition:
ID-1: / raw-size: 465.5 GiB size: 4.09 TiB (900.43%) used: 1.82 TiB (44.5%)
fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.45%)
used: 546 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 465.5 GiB size: 4.09 TiB (900.43%)
used: 1.82 TiB (44.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 465.5 GiB size: 4.09 TiB (900.43%)
used: 1.82 TiB (44.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 465.5 GiB size: 4.09 TiB (900.43%)
used: 1.82 TiB (44.5%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.32 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 29.8 C mobo: 27.8 C
Fan Speeds (RPM): N/A
Info:
Processes: 218 Uptime: 10m wakeups: 0 Memory: 15.32 GiB
used: 1.82 GiB (11.9%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.1.0 clang: 13.0.1 Packages: pacman: 1758 lib: 410 Shell: fish
v: 3.3.1 default: Bash v: 5.1.16 running-in: alacritty inxi: 3.3.12
Garuda (2.5.4-2):
System install date: 2021-03-08
Last full system update: 2022-02-11
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: No/Undetected
Snapshots: Timeshift
Failed units:

Still experiencing problems with baloo. I see it running even though I have disabled it. My hard drive is again working constantly. Top shows it running 1.7% of cpu and 7.2% ram...and rising. The balooctl commands seem to have no effect. Baloo causes long delays in my desktop and applications. Had to kill the process. I'm going to try a reboot and just let it run awhile and see if it doesn't settle down.

btrfs and baloo are currently alternately taking up to 100% of my cpu and 23% of ram. I think I may have an issue with how I imported and set up a huge load of data a couple weeks ago. Doesn't look to me like it's a Garuda issue. I've got everything set correctly as far as I can see, but btfrs is really struggling with my data and making my computer unusable. Luckily, I have a backup, so not risking losing data while I figure this out.

Thanks for all your help. It has gotten me on the right track anyway.

As always whenever you are experiencing serious issues with your system it is best to test alternate kernels. I would suggest you test at least the LTS, mainline, and cacule kernels.

There have been many threads regarding high resource usage in the past on the forum. I would suggest reading these:

Personally I think disabling btrfs quotas and disabling scheduled snapshots might be the most likely fix. After that, deleting all your snapshots and then performing a full btrfs balance is often helpful.

2 Likes

Well, after a good 15 minutes or so, btfrs-cleaner and baloo_file_extractor finished and my hdds are quiet. I am very pleased and relieved. Again, thanks for the help.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.