Hi, since 3 days, my system is pritty slow up to not reacting after a while. Sometimes it is frozen for about some minutes (including Plasma Clock is not running). If I look at the the Plasma Monitor, I see the system is always near 100% (at least some cores). Extract from top, shows that kswapd0 is consuming a lot of ressources, anyhow 32GB RAM should be OK for a simple KDE/Plasma desktop. # top top - 09:17:18 up 1:15, 4 users, load average: 9.77, 8.64, 7.36 Tasks: 397 total, 6 running, 391 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.7 us, 49.2 sy, 5.5 ni, 21.1 id, 12.5 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 31510.43+total, 123.113 free, 7698.504 used, 24290.14+buff/cache MiB Swap: 31502.68+total, 28989.93+free, 2512.750 used. 23811.92+avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 103 root 20 0 0 0 0 R 100.0 0.000 37:10.57 kswapd0 5816 ulf 39 19 0.255t 8.901g 5.012g R 93.75 28.93 55:38.54 baloo_file_extr 111512 root 20 0 0 0 0 R 87.50 0.000 2:06.69 kworker/u32:2+btrfs-qgroup-rescan 598 root 20 0 0 0 0 R 68.75 0.000 30:00.40 btrfs-cleaner 5793 ulf 20 0 3354276 146044 11972 S 37.50 0.453 4:39.36 mysqld 5748 ulf 20 0 3208872 21800 11096 S 31.25 0.068 2:45.96 akonadiserver 6023 ulf 20 0 1428256 50772 40480 S 25.00 0.157 1:57.20 akonadi_imap_re 5078 ulf 20 0 6246912 229212 59300 S 12.50 0.710 7:09.63 plasmashell # top - 09:50:10 up 1:48, 4 users, load average: 11.25, 10.37, 9.74 Tasks: 424 total, 5 running, 419 sleeping, 0 stopped, 0 zombie %Cpu(s): 5.8 us, 48.2 sy, 14.6 ni, 3.6 id, 27.0 wa, 0.0 hi, 0.7 si, 0.0 st MiB Mem : 31510.43+total, 473.695 free, 8782.738 used, 22937.44+buff/cache MiB Swap: 31502.68+total, 28025.43+free, 3477.250 used. 22727.69+avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 103 root 20 0 0 0 0 R 100.0 0.000 68:02.50 kswapd0 4800 ulf 9 -11 566112 11980 7244 R 100.0 0.037 0:38.79 wireplumber 5078 ulf 20 0 6318224 330376 78776 S 100.0 1.024 11:45.49 plasmashell 5816 ulf 39 19 0.255t 7.121g 3.452g R 100.0 23.14 83:20.69 baloo_file_extr 598 root 20 0 0 0 0 R 87.50 0.000 55:32.16 btrfs-cleaner 115138 root 30 10 1015528 582280 4744 D 37.50 1.805 12:03.07 borg 117471 root 20 0 5976 3664 2640 R 12.50 0.011 0:00.02 top # top - 09:56:19 up 1:54, 4 users, load average: 11.27, 11.21, 10.33 Tasks: 411 total, 4 running, 407 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.3 us, 33.3 sy, 5.3 ni, 12.9 id, 38.6 wa, 0.0 hi, 1.5 si, 0.0 st MiB Mem : 31510.43+total, 427.461 free, 8524.664 used, 23192.59+buff/cache MiB Swap: 31502.68+total, 28160.93+free, 3341.750 used. 22985.76+avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4800 ulf 9 -11 566112 10852 6116 R 106.2 0.034 6:46.96 wireplumber 103 root 20 0 0 0 0 R 100.0 0.000 73:09.90 kswapd0 598 root 20 0 0 0 0 R 68.75 0.000 60:20.11 btrfs-cleaner 115138 root 30 10 1015748 920544 6292 D 50.00 2.853 13:31.17 borg 5078 ulf 20 0 6330620 320416 55676 S 12.50 0.993 12:27.42 plasmashell 4750 ulf -2 0 3085516 214216 177584 S 6.250 0.664 19:03.60 kwin_wayland 5816 ulf 39 19 0.255t 7.011g 3.486g D 6.250 22.78 87:57.58 baloo_file_extr After killing wireplumber and baloo_file_extr, as well swapoff -a # top - 11:07:16 up 3:05, 5 users, load average: 7.87, 6.71, 6.60 Tasks: 404 total, 3 running, 401 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.4 us, 29.6 sy, 0.0 ni, 41.5 id, 16.3 wa, 0.0 hi, 2.2 si, 0.0 st MiB Mem : 31510.43+total, 310.660 free, 6013.328 used, 25934.19+buff/cache MiB Swap: 0.000 total, 0.000 free, 0.000 used. 25497.10+avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 103 root 20 0 0 0 0 R 100.0 0.000 136:32.70 kswapd0 598 root 20 0 0 0 0 R 87.50 0.000 117:38.18 btrfs-cleaner 5793 ulf 20 0 3354276 215228 8964 S 50.00 0.667 16:26.30 mysqld 5748 ulf 20 0 3208872 27960 10324 S 31.25 0.087 7:57.38 akonadiserver 6023 ulf 20 0 1428256 41056 14760 S 25.00 0.127 5:34.51 akonadi_imap_re 7598 ulf 20 0 2302032 197316 156856 S 6.250 0.612 12:04.02 konsole
lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:0 0 931,5G 0 disk ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi ├─nvme0n1p2 259:2 0 900,2G 0 part /root │ /srv │ /home │ /usr/local │ /opt │ /var │ /boot/grub2/x86_64-efi │ /boot/grub2/i386-pc │ /.snapshots │ / └─nvme0n1p3 259:3 0 30,8G 0 part [SWAP]
Any Idea what can be the reason? Ulf
Hello, In the Message; Subject : Since some 3 days - will be slow Message-ID : <21918979.4csPzL39Zc@peterle> Date & Time: Sat, 03 Aug 2024 11:30:24 +0200 [U] == Ulf via openSUSE Factory <factory@lists.opensuse.org> has written: U> Hi, U> since 3 days, my system is pritty slow up to not reacting after a while. U> Sometimes it is frozen for about some minutes (including Plasma Clock U> is not running). [...] U> > lsblk U> NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS U> nvme0n1 259:0 0 931,5G 0 disk U> ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi U> ├─nvme0n1p2 259:2 0 900,2G 0 part /root U> │ /srv U> │ /home U> │ /usr/local U> │ /opt U> │ /var U> │ /boot/grub2/x86_64-efi U> │ /boot/grub2/i386-pc U> │ /.snapshots U> │ / U> └─nvme0n1p3 259:3 0 30,8G 0 part [SWAP] How about this? $ df -h Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "To hire for skills, firms will need to implement robust and intentional changes in their hiring practices ― and change is hard." -- Employers don’t practice what they preach on skills-based hiring --
Hello, I'm going to bed, so I'll write down the main points. In the Message; Subject : Re: Since some 3 days - will be slow Message-ID : <87wmkxdiaa.wl-nomiya@lake.dti.ne.jp> Date & Time: [MN] == Masaru Nomiya <nomiya@lake.dti.ne.jp> has written: MN> Hello, MN> In the Message; MN> Subject : Since some 3 days - will be slow MN> Message-ID : <21918979.4csPzL39Zc@peterle> MN> Date & Time: Sat, 03 Aug 2024 11:30:24 +0200 MN> [U] == Ulf via openSUSE Factory <factory@lists.opensuse.org> has written: U> Hi, U> since 3 days, my system is pritty slow up to not reacting after a while. U> Sometimes it is frozen for about some minutes (including Plasma Clock U> is not running). MN> [...] U> > lsblk U> NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS U> nvme0n1 259:0 0 931,5G 0 disk U> ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi U> ├─nvme0n1p2 259:2 0 900,2G 0 part /root U> │ /srv U> │ /home U> │ /usr/local U> │ /opt U> │ /var U> │ /boot/grub2/x86_64-efi U> │ /boot/grub2/i386-pc U> │ /.snapshots U> │ / U> └─nvme0n1p3 259:3 0 30,8G 0 part [SWAP] MN> How about this? MN> $ df -h Often overlooked is the snapshot. Please check to see if there are too many of them. Best Regards & Good Night. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Microsoft is overhauling its cybersecurity strategy, called the Secure Future Initiative, to incorporate key security features into its core set of technology platforms and cloud services. " -- Microsoft overhauls cyber strategy to finally embrace security by default --
Am Samstag, 3. August 2024, 12:54:22 MESZ schrieb Masaru Nomiya:
Hello,
I'm going to bed, so I'll write down the main points.
MN> How about this?
MN> $ df -h
Often overlooked is the snapshot. Please check to see if there are too many of them.
# df -h Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf /dev/nvme0n1p2 901G 459G 417G 53% / devtmpfs 4,0M 0 4,0M 0% /dev tmpfs 16G 0 16G 0% /dev/shm efivarfs 128K 38K 86K 31% /sys/firmware/efi/efivars tmpfs 6,2G 2,5M 6,2G 1% /run tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-journald.service tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-udev-load-credentials.service tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-tmpfiles-setup-dev-early.service tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-sysctl.service tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-tmpfiles-setup-dev.service tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-vconsole-setup.service /dev/nvme0n1p2 901G 459G 417G 53% /.snapshots /dev/nvme0n1p2 901G 459G 417G 53% /boot/grub2/i386-pc /dev/nvme0n1p2 901G 459G 417G 53% /boot/grub2/x86_64-efi /dev/nvme0n1p2 901G 459G 417G 53% /root /dev/nvme0n1p2 901G 459G 417G 53% /home /dev/nvme0n1p2 901G 459G 417G 53% /opt /dev/nvme0n1p2 901G 459G 417G 53% /srv tmpfs 16G 4,0K 16G 1% /tmp /dev/nvme0n1p2 901G 459G 417G 53% /usr/local /dev/nvme0n1p2 901G 459G 417G 53% /var /dev/nvme0n1p1 511M 62M 450M 13% /boot/efi tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-tmpfiles-setup.service tmpfs 1,0M 0 1,0M 0% /run/credentials/getty@tty1.service tmpfs 3,1G 100K 3,1G 1% /run/user/1000 btrfs subvolume show / [sudo] Passwort für root: @/.snapshots/1563/snapshot Name: snapshot UUID: bb93f91f-3d8b-664f-8eed-0fc1865e1369 Parent UUID: 2eaa372a-41f8-8e4c-be80-aec681109acb Received UUID: - Creation time: 2024-05-13 19:29:53 +0200 Subvolume ID: 1833 Generation: 380160 Gen at creation: 313156 Parent ID: 265 Top level ID: 265 Flags: - Send transid: 0 Send time: 2024-05-13 19:29:53 +0200 Receive transid: 0 Receive time: - Snapshot(s): @/.snapshots/1738/snapshot @/.snapshots/1739/snapshot @/.snapshots/1740/snapshot @/.snapshots/1741/snapshot @/.snapshots/1744/snapshot @/.snapshots/1745/snapshot @/.snapshots/1760/snapshot @/.snapshots/1761/snapshot @/.snapshots/1762/snapshot @/.snapshots/1763/snapshot @/.snapshots/1764/snapshot @/.snapshots/1765/snapshot @/.snapshots/1766/snapshot @/.snapshots/1767/snapshot @/.snapshots/1768/snapshot @/.snapshots/1769/snapshot @/.snapshots/1770/snapshot @/.snapshots/1771/snapshot Quota group: 0/1833 Limit referenced: - Limit exclusive: - Usage referenced: 3.43GiB Usage exclusive: 16.00KiB Ulf
Looks like a memory leak in baloo? Try balooctl6 suspend balooctl6 disable Den lör 3 aug. 2024 kl 11:31 skrev Ulf via openSUSE Factory < factory@lists.opensuse.org>:
Hi,
since 3 days, my system is pritty slow up to not reacting after a while. Sometimes it is frozen for about some minutes (including Plasma Clock is not running).
If I look at the the Plasma Monitor, I see the system is always near 100% (at least some cores).
Extract from top, shows that kswapd0 is consuming a lot of ressources, anyhow 32GB RAM should be OK for a simple KDE/Plasma desktop.
# top top - 09:17:18 up 1:15, 4 users, load average: 9.77, 8.64, 7.36 Tasks: 397 total, 6 running, 391 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.7 us, 49.2 sy, 5.5 ni, 21.1 id, 12.5 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 31510.43+total, 123.113 free, 7698.504 used, 24290.14+buff/cache MiB Swap: 31502.68+total, 28989.93+free, 2512.750 used. 23811.92+avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 103 root 20 0 0 0 0 R 100.0 0.000 37:10.57 kswapd0 5816 ulf 39 19 0.255t 8.901g 5.012g R 93.75 28.93 55:38.54 baloo_file_extr 111512 root 20 0 0 0 0 R 87.50 0.000 2:06.69 kworker/u32:2+btrfs-qgroup-rescan 598 root 20 0 0 0 0 R 68.75 0.000 30:00.40 btrfs-cleaner 5793 ulf 20 0 3354276 146044 11972 S 37.50 0.453 4:39.36 mysqld 5748 ulf 20 0 3208872 21800 11096 S 31.25 0.068 2:45.96 akonadiserver 6023 ulf 20 0 1428256 50772 40480 S 25.00 0.157 1:57.20 akonadi_imap_re 5078 ulf 20 0 6246912 229212 59300 S 12.50 0.710 7:09.63 plasmashell
# top - 09:50:10 up 1:48, 4 users, load average: 11.25, 10.37, 9.74 Tasks: 424 total, 5 running, 419 sleeping, 0 stopped, 0 zombie %Cpu(s): 5.8 us, 48.2 sy, 14.6 ni, 3.6 id, 27.0 wa, 0.0 hi, 0.7 si, 0.0 st MiB Mem : 31510.43+total, 473.695 free, 8782.738 used, 22937.44+buff/cache MiB Swap: 31502.68+total, 28025.43+free, 3477.250 used. 22727.69+avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 103 root 20 0 0 0 0 R 100.0 0.000 68:02.50 kswapd0 4800 ulf 9 -11 566112 11980 7244 R 100.0 0.037 0:38.79 wireplumber 5078 ulf 20 0 6318224 330376 78776 S 100.0 1.024 11:45.49 plasmashell 5816 ulf 39 19 0.255t 7.121g 3.452g R 100.0 23.14 83:20.69 baloo_file_extr 598 root 20 0 0 0 0 R 87.50 0.000 55:32.16 btrfs-cleaner 115138 root 30 10 1015528 582280 4744 D 37.50 1.805 12:03.07 borg 117471 root 20 0 5976 3664 2640 R 12.50 0.011 0:00.02 top
# top - 09:56:19 up 1:54, 4 users, load average: 11.27, 11.21, 10.33 Tasks: 411 total, 4 running, 407 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.3 us, 33.3 sy, 5.3 ni, 12.9 id, 38.6 wa, 0.0 hi, 1.5 si, 0.0 st MiB Mem : 31510.43+total, 427.461 free, 8524.664 used, 23192.59+buff/cache MiB Swap: 31502.68+total, 28160.93+free, 3341.750 used. 22985.76+avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4800 ulf 9 -11 566112 10852 6116 R 106.2 0.034 6:46.96 wireplumber 103 root 20 0 0 0 0 R 100.0 0.000 73:09.90 kswapd0 598 root 20 0 0 0 0 R 68.75 0.000 60:20.11 btrfs-cleaner 115138 root 30 10 1015748 920544 6292 D 50.00 2.853 13:31.17 borg 5078 ulf 20 0 6330620 320416 55676 S 12.50 0.993 12:27.42 plasmashell 4750 ulf -2 0 3085516 214216 177584 S 6.250 0.664 19:03.60 kwin_wayland 5816 ulf 39 19 0.255t 7.011g 3.486g D 6.250 22.78 87:57.58 baloo_file_extr
After killing wireplumber and baloo_file_extr, as well swapoff -a
# top - 11:07:16 up 3:05, 5 users, load average: 7.87, 6.71, 6.60 Tasks: 404 total, 3 running, 401 sleeping, 0 stopped, 0 zombie %Cpu(s): 10.4 us, 29.6 sy, 0.0 ni, 41.5 id, 16.3 wa, 0.0 hi, 2.2 si, 0.0 st MiB Mem : 31510.43+total, 310.660 free, 6013.328 used, 25934.19+buff/cache MiB Swap: 0.000 total, 0.000 free, 0.000 used. 25497.10+avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
103 root 20 0 0 0 0 R 100.0 0.000 136:32.70 kswapd0
598 root 20 0 0 0 0 R 87.50 0.000 117:38.18 btrfs-cleaner
5793 ulf 20 0 3354276 215228 8964 S 50.00 0.667 16:26.30 mysqld
5748 ulf 20 0 3208872 27960 10324 S 31.25 0.087 7:57.38 akonadiserver
6023 ulf 20 0 1428256 41056 14760 S 25.00 0.127 5:34.51 akonadi_imap_re
7598 ulf 20 0 2302032 197316 156856 S 6.250 0.612 12:04.02 konsole
lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:0 0 931,5G 0 disk ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi ├─nvme0n1p2 259:2 0 900,2G 0 part /root │ /srv │ /home │ /usr/local │ /opt │ /var │ /boot/grub2/x86_64-efi │ /boot/grub2/i386-pc │ /.snapshots │ / └─nvme0n1p3 259:3 0 30,8G 0 part [SWAP]
Any Idea what can be the reason?
Ulf
Am Samstag, 3. August 2024, 13:41:25 MESZ schrieb Ernst Persson:
Looks like a memory leak in baloo? Try
balooctl6 suspend balooctl6 disable
Thanks for support Done - I will see what happens. $ balooctl6 suspend File Indexer suspended $ balooctl6 disable Disabling and stopping the File Indexer Ulf
Hi Ernest, Am Samstag, 3. August 2024, 13:41:25 MESZ schrieb Ernst Persson:
Looks like a memory leak in baloo? Try
balooctl6 suspend balooctl6 disable
Seams that it was the reason, I have no issue anymore. CPU load is mean 50% lower (with low CPU clockspeed in the range of 5%). If I look in the system settings, the Index memory is about 811,7 MiB, which is according the scanned about 250GB local and NFS mounted quite small. I disabled the scan of an NFS drive with about 11TB anyhow, due to performance reasons. Do you or someone else know, if there is a log I can check which file seams to be the reason? Ulf
On 2024-08-04 12:25, Ulf via openSUSE Factory wrote:
Hi Ernest,
Am Samstag, 3. August 2024, 13:41:25 MESZ schrieb Ernst Persson:
Looks like a memory leak in baloo? Try
balooctl6 suspend balooctl6 disable
Seams that it was the reason, I have no issue anymore. CPU load is mean 50% lower (with low CPU clockspeed in the range of 5%).
If I look in the system settings, the Index memory is about 811,7 MiB, which is according the scanned about 250GB local and NFS mounted quite small.
I disabled the scan of an NFS drive with about 11TB anyhow, due to performance reasons.
Do you or someone else know, if there is a log I can check which file seams to be the reason?
No, I don't know. Years ago I had problems with baloo, and there were messages in the system log about crashes with this file or that. But There were crashes, it is not your case. Found something: https://community.kde.org/Baloo/Debugging «You can check which files are currently being scanned with balooctl monitor and the current indexing status with balooctl status.» -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Am Sonntag, 4. August 2024, 13:19:27 MESZ schrieb Carlos E. R.:
Am Samstag, 3. August 2024, 13:41:25 MESZ schrieb Ernst Persson:
balooctl6 suspend balooctl6 disable balooctl status balooctl monitor
New seams to be balooctl6 But to start debugging I need to start it again. But now I will went to Holidays and don't do PC stuff the next 2 weeks. Ulf
On lauantaina 3. elokuuta 2024 12.30.24 UTC+3 Ulf via openSUSE Factory wrote:
Hi,
since 3 days, my system is pritty slow up to not reacting after a while. Sometimes it is frozen for about some minutes (including Plasma Clock is not running).
If I look at the the Plasma Monitor, I see the system is always near 100% (at least some cores).
Extract from top, shows that kswapd0 is consuming a lot of ressources, anyhow 32GB RAM should be OK for a simple KDE/Plasma desktop.
.... Any Idea what can be the reason?
Have you checked system logs and 'dmesg' for example? I have intermittent system freezes that seem to be rlated to my Kingson A2000 NVME drive. Usually related to high I/O events, but sometimes I also see CPU load being close to 100%, in my dmesg I see stuff like this: [ 671.019153] [ T298] nvme nvme0: I/O tag 268 (610c) opcode 0x1 (I/O Cmd) QID 1 timeout, aborting req_op:WRITE(1) size:131072 [ 701.138681] [ T466] nvme nvme0: I/O tag 264 (a108) opcode 0x1 (I/O Cmd) QID 1 timeout, reset controller [ 762.143201] [ C0] nvme0n1: I/O Cmd(0x2) @ LBA 114069520, 256 blocks, I/O Error (sct 0x3 / sc 0x71) [ 762.143238] [ C0] I/O error, dev nvme0n1, sector 114069520 op 0x0: (READ) flags 0x84700 phys_seg 30 prio class 0 -- Lassi Väätämöinen Hallilantie 65 B 24 33800 Tampere +358 50 345 3523
Hi, no, nothing special in the logs observed. Am Samstag, 3. August 2024, 13:47:11 MESZ schrieb Lassi Väätämöinen:
Have you checked system logs and 'dmesg' for example? I have intermittent system freezes that seem to be rlated to my Kingson A2000 NVME drive.
Usually related to high I/O events, but sometimes I also see CPU load being close to 100%, in my dmesg I see stuff like this:
[ 671.019153] [ T298] nvme nvme0: I/O tag 268 (610c) opcode 0x1 (I/O Cmd) QID 1 timeout, aborting req_op:WRITE(1) size:131072 [ 701.138681] [ T466] nvme nvme0: I/O tag 264 (a108) opcode 0x1 (I/O Cmd) QID 1 timeout, reset controller [ 762.143201] [ C0] nvme0n1: I/O Cmd(0x2) @ LBA 114069520, 256 blocks, I/O Error (sct 0x3 / sc 0x71) [ 762.143238] [ C0] I/O error, dev nvme0n1, sector 114069520 op 0x0: (READ) flags 0x84700 phys_seg 30 prio class 0
I need to reboot meanwhile, but I cant see something like this # dmesg | grep -Ei "btrfs|nvme" [ 2.274923] [ T368] Btrfs loaded, assert=on, zoned=yes, fsverity=yes [ 2.632212] [ T65] nvme nvme0: pci function 0000:04:00.0 [ 2.647810] [ T65] nvme nvme0: D3 entry latency set to 8 seconds [ 2.669725] [ T65] nvme nvme0: allocated 64 MiB host memory buffer. [ 2.712875] [ T65] nvme nvme0: 8/0/0 default/read/poll queues [ 2.723759] [ T77] nvme0n1: p1 p2 p3 [ 9.848543] [ T586] BTRFS: device fsid c565f6b0-4888-41c4-9462- affb17b3f5db devid 1 transid 380127 /dev/nvme0n1p2 (259:2) scanned by mount (586) [ 9.848885] [ T586] BTRFS info (device nvme0n1p2): first mount of filesystem c565f6b0-4888-41c4-9462-affb17b3f5db [ 9.848906] [ T586] BTRFS info (device nvme0n1p2): using crc32c (crc32c- intel) checksum algorithm [ 9.848913] [ T586] BTRFS info (device nvme0n1p2): using free-space-tree [ 9.853868] [ T586] BTRFS info (device nvme0n1p2): bdev /dev/nvme0n1p2 errs: wr 0, rd 0, flush 0, corrupt 360, gen 0 [ 11.087575] [ T1] systemd[1]: Starting Load Kernel Module nvme_fabrics... [ 11.110391] [ T1] systemd[1]: modprobe@nvme_fabrics.service: Deactivated successfully. [ 11.110523] [ T1] systemd[1]: Finished Load Kernel Module nvme_fabrics. [ 11.518269] [ T789] Adding 32258752k swap on /dev/nvme0n1p3. Priority:-2 extents:1 across:32258752k SS [ 658.670697] [ T2133] BTRFS info (device nvme0n1p2): qgroup scan paused # smartctl -a /dev/nvme0 smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.10.2-1-default] (SUSE RPM) Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Number: Samsung SSD 980 1TB Serial Number: S649NJ0R325393A Firmware Version: 1B4QFXO7 PCI Vendor/Subsystem ID: 0x144d IEEE OUI Identifier: 0x002538 Total NVM Capacity: 1.000.204.886.016 [1,00 TB] Unallocated NVM Capacity: 0 Controller ID: 5 NVMe Version: 1.4 Number of Namespaces: 1 Namespace 1 Size/Capacity: 1.000.204.886.016 [1,00 TB] Namespace 1 Utilization: 553.801.977.856 [553 GB] Namespace 1 Formatted LBA Size: 512 Namespace 1 IEEE EUI-64: 002538 d3114206a6 Local Time is: Sat Aug 3 15:27:58 2024 CEST Firmware Updates (0x16): 3 Slots, no Reset required Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test Optional NVM Commands (0x0055): Comp DS_Mngmt Sav/Sel_Feat Timestmp Log Page Attributes (0x0f): S/H_per_NS Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg Maximum Data Transfer Size: 512 Pages Warning Comp. Temp. Threshold: 82 Celsius Critical Comp. Temp. Threshold: 85 Celsius Namespace 1 Features (0x10): NP_Fields Supported Power States St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat 0 + 5.24W - - 0 0 0 0 0 0 1 + 4.49W - - 1 1 1 1 0 0 2 + 2.19W - - 2 2 2 2 0 500 3 - 0.0500W - - 3 3 3 3 210 1200 4 - 0.0050W - - 4 4 4 4 1000 9000 Supported LBA Sizes (NSID 0x1) Id Fmt Data Metadt Rel_Perf 0 + 512 0 0 === START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED SMART/Health Information (NVMe Log 0x02) Critical Warning: 0x00 Temperature: 52 Celsius Available Spare: 99% Available Spare Threshold: 10% Percentage Used: 8% Data Units Read: 3.823.849.453 [1,95 PB] Data Units Written: 221.887.429 [113 TB] Host Read Commands: 213.962.502.751 Host Write Commands: 7.928.122.303 Controller Busy Time: 50.484 Power Cycles: 867 Power On Hours: 1.922 Unsafe Shutdowns: 41 Media and Data Integrity Errors: 7 Error Information Log Entries: 7 Warning Comp. Temperature Time: 124 Error Information (NVMe Log 0x01, 16 of 64 entries) No Errors Logged Self-test Log (NVMe Log 0x06) Self-test status: No self-test in progress
On 2024-08-03 11:30, Ulf via openSUSE Factory wrote:
Hi,
since 3 days, my system is pritty slow up to not reacting after a while. Sometimes it is frozen for about some minutes (including Plasma Clock is not running).
If I look at the the Plasma Monitor, I see the system is always near 100% (at least some cores).
Extract from top, shows that kswapd0 is consuming a lot of ressources, anyhow 32GB RAM should be OK for a simple KDE/Plasma desktop.
# top top - 09:17:18 up 1:15, 4 users, load average: 9.77, 8.64, 7.36 Tasks: 397 total, 6 running, 391 sleeping, 0 stopped, 0 zombie %Cpu(s): 11.7 us, 49.2 sy, 5.5 ni, 21.1 id, 12.5 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 31510.43+total, 123.113 free, 7698.504 used, 24290.14+buff/cache MiB Swap: 31502.68+total, 28989.93+free, 2512.750 used. 23811.92+avail Mem ...........................................**************
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 103 root 20 0 0 0 0 R 100.0 0.000 37:10.57 kswapd0 5816 ulf 39 19 0.255t 8.901g 5.012g R 93.75 28.93 55:38.54 baloo_file_extr 111512 root 20 0 0 0 0 R 87.50 0.000 2:06.69 kworker/u32:2+btrfs-qgroup-rescan 598 root 20 0 0 0 0 R 68.75 0.000 30:00.40 btrfs-cleaner 5793 ulf 20 0 3354276 146044 11972 S 37.50 0.453 4:39.36 mysqld 5748 ulf 20 0 3208872 21800 11096 S 31.25 0.068 2:45.96 akonadiserver 6023 ulf 20 0 1428256 50772 40480 S 25.00 0.157 1:57.20 akonadi_imap_re 5078 ulf 20 0 6246912 229212 59300 S 12.50 0.710 7:09.63 plasmashell
# top - 09:50:10 up 1:48, 4 users, load average: 11.25, 10.37, 9.74 Tasks: 424 total, 5 running, 419 sleeping, 0 stopped, 0 zombie %Cpu(s): 5.8 us, 48.2 sy, 14.6 ni, 3.6 id, 27.0 wa, 0.0 hi, 0.7 si, 0.0 st MiB Mem : 31510.43+total, 473.695 free, 8782.738 used, 22937.44+buff/cache MiB Swap: 31502.68+total, 28025.43+free, 3477.250 used. 22727.69+avail Mem
...........................................************** Swap is growing fast. Free ram is not big. Some process is eating memory.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 103 root 20 0 0 0 0 R 100.0 0.000 68:02.50 kswapd0 4800 ulf 9 -11 566112 11980 7244 R 100.0 0.037 0:38.79 wireplumber 5078 ulf 20 0 6318224 330376 78776 S 100.0 1.024 11:45.49 plasmashell 5816 ulf 39 19 0.255t 7.121g 3.452g R 100.0 23.14 83:20.69 baloo_file_extr
Baloo has 7 gigs resident memory, but is going down. You could add the field "SHR" to top, to see what app is being swapped. Also you can sort by "RES" or "SHR".
598 root 20 0 0 0 0 R 87.50 0.000 55:32.16 btrfs-cleaner 115138 root 30 10 1015528 582280 4744 D 37.50 1.805 12:03.07 borg 117471 root 20 0 5976 3664 2640 R 12.50 0.011 0:00.02 top
# top - 09:56:19 up 1:54, 4 users, load average: 11.27, 11.21, 10.33 Tasks: 411 total, 4 running, 407 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.3 us, 33.3 sy, 5.3 ni, 12.9 id, 38.6 wa, 0.0 hi, 1.5 si, 0.0 st MiB Mem : 31510.43+total, 427.461 free, 8524.664 used, 23192.59+buff/cache MiB Swap: 31502.68+total, 28160.93+free, 3341.750 used. 22985.76+avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 4800 ulf 9 -11 566112 10852 6116 R 106.2 0.034 6:46.96 wireplumber 103 root 20 0 0 0 0 R 100.0 0.000 73:09.90 kswapd0 598 root 20 0 0 0 0 R 68.75 0.000 60:20.11 btrfs-cleaner 115138 root 30 10 1015748 920544 6292 D 50.00 2.853 13:31.17 borg 5078 ulf 20 0 6330620 320416 55676 S 12.50 0.993 12:27.42 plasmashell 4750 ulf -2 0 3085516 214216 177584 S 6.250 0.664 19:03.60 kwin_wayland 5816 ulf 39 19 0.255t 7.011g 3.486g D 6.250 22.78 87:57.58 baloo_file_extr
After killing wireplumber and baloo_file_extr, as well swapoff -a
Don't kill swap, that makes things worse. Might crash the system. ...
Any Idea what can be the reason?
Baloo is perhaps analyzing some file and having a bad time. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Hi Carlos, thanks for fast reply. Am Samstag, 3. August 2024, 13:53:53 MESZ schrieb Carlos E. R.:
On 2024-08-03 11:30, Ulf via openSUSE Factory wrote:
# top - 09:50:10 up 1:48, 4 users, load average: 11.25, 10.37, 9.74 Tasks: 424 total, 5 running, 419 sleeping, 0 stopped, 0 zombie %Cpu(s): 5.8 us, 48.2 sy, 14.6 ni, 3.6 id, 27.0 wa, 0.0 hi, 0.7 si, 0.0 st MiB Mem : 31510.43+total, 473.695 free, 8782.738 used, 22937.44+buff/cache MiB Swap: 31502.68+total, 28025.43+free, 3477.250 used. 22727.69+avail Mem ...........................................**************
Swap is growing fast. Free ram is not big. Some process is eating memory.
You are right.
Baloo has 7 gigs resident memory, but is going down. You could add the field "SHR" to top, to see what app is being swapped.
Also you can sort by "RES" or "SHR".
I will check later, how to enable.
Don't kill swap, that makes things worse. Might crash the system.
...
OK, thanks for hint. I switched it on again # swapon -a
Any Idea what can be the reason?
Baloo is perhaps analyzing some file and having a bad time.
I switeched baloo off for a while: $ balooctl6 suspend File Indexer suspended $ balooctl6 disable Disabling and stopping the File Indexer In the moment the index size is 811.7MiB according plasma systemsettings page. Ulf
On 2024-08-03 15:46, Ulf via openSUSE Factory wrote:
Hi Carlos,
thanks for fast reply.
Am Samstag, 3. August 2024, 13:53:53 MESZ schrieb Carlos E. R.:
On 2024-08-03 11:30, Ulf via openSUSE Factory wrote:
Also you can sort by "RES" or "SHR".
I will check later, how to enable.
'f' Fields Management for window 1:Def, whose current sort field is %CPU Navigate with Up/Dn, Right selects for move then <Enter> or Left commits, 'd' or <Space> toggles display, 's' sets sort. Use 'q' or <Esc> to end! * PID = Process Id OOMs = OOMEM Score current * USER = Effective User Name ENVIRON = Environment vars * PR = Priority vMj = Major Faults delta * NI = Nice Value vMn = Minor Faults delta * VIRT = Virtual Image (KiB) USED = Res+Swap Size (KiB) * RES = Resident Size (KiB) nsIPC = IPC namespace Inode * SHR = Shared Memory (KiB) nsMNT = MNT namespace Inode * SWAP = Swapped Size (KiB) nsNET = NET namespace Inode * S = Process Status nsPID = PID namespace Inode * %CPU = CPU Usage nsUSER = USER namespace Inode * %MEM = Memory Usage (RES) nsUTS = UTS namespace Inode * TIME+ = CPU Time, hundredths LXC = LXC container name * COMMAND = Command Name/Line RSan = RES Anonymous (KiB) PPID = Parent Process pid RSfd = RES File-based (KiB) UID = Effective User Id RSlk = RES Locked (KiB) Move the cursor around, use 's' to select sort (gets displayed at the end of the first line). 'd' or space activates or deactivates a field. I find "RES" more indicative of ram actually used by a process.
Don't kill swap, that makes things worse. Might crash the system.
...
OK, thanks for hint. I switched it on again # swapon -a
Any Idea what can be the reason?
Baloo is perhaps analyzing some file and having a bad time.
I switeched baloo off for a while:
$ balooctl6 suspend File Indexer suspended $ balooctl6 disable Disabling and stopping the File Indexer
In the moment the index size is 811.7MiB according plasma systemsettings page.
Some file it was trying to analyze triggered a bug and eat memory. Problem is finding what file. Messages log, perhaps? -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Hi Carlos :-) Am Samstag, 3. August 2024, 16:30:18 MESZ schrieb Carlos E. R.:
On 2024-08-03 15:46, Ulf via openSUSE Factory wrote:
Also you can sort by "RES" or "SHR".
I will check later, how to enable.
'f'
Yes, in interactive mode, but due to the fact, that on tty I have now copy and past feature. Background Plasma is not reacting at all, so I switch to a tty <strg>+<alt>+<F2> and use there btop and if I need a log something like # top -n 1 | head -n 15 > /tmp/top_$(date +%F_%T).txt
Fields Management for window 1:Def, whose current sort field is %CPU Navigate with Up/Dn, Right selects for move then <Enter> or Left commits, 'd' or <Space> toggles display, 's' sets sort. Use 'q' or <Esc> to end!
* PID = Process Id OOMs = OOMEM Score current * USER = Effective User Name ENVIRON = Environment vars * PR = Priority vMj = Major Faults delta * NI = Nice Value vMn = Minor Faults delta * VIRT = Virtual Image (KiB) USED = Res+Swap Size (KiB) * RES = Resident Size (KiB) nsIPC = IPC namespace Inode * SHR = Shared Memory (KiB) nsMNT = MNT namespace Inode * SWAP = Swapped Size (KiB) nsNET = NET namespace Inode * S = Process Status nsPID = PID namespace Inode * %CPU = CPU Usage nsUSER = USER namespace Inode * %MEM = Memory Usage (RES) nsUTS = UTS namespace Inode * TIME+ = CPU Time, hundredths LXC = LXC container name * COMMAND = Command Name/Line RSan = RES Anonymous (KiB) PPID = Parent Process pid RSfd = RES File-based (KiB) UID = Effective User Id RSlk = RES Locked (KiB)
OK, that I know, so it is inside of the very big man page of top. I need some time to read it (English is not my natural language and anyhow I need it several times, I was not so familiar with the vocabulary ;-) )
Move the cursor around, use 's' to select sort (gets displayed at the end of the first line). 'd' or space activates or deactivates a field. I find "RES" more indicative of ram actually used by a process.
Yes, but mainly I use btop which have slightly different commands.
In the moment the index size is 811.7MiB according plasma systemsettings page.
Some file it was trying to analyze triggered a bug and eat memory. Problem is finding what file. Messages log, perhaps?
Need one of the last day. Or an encrypted file, which was only slightly changed (I use some encfs encrypted folders via kde vault, which will be not always decrypted). Ulf
On 2024-08-03 17:43, Ulf via openSUSE Factory wrote:
Hi Carlos :-)
Am Samstag, 3. August 2024, 16:30:18 MESZ schrieb Carlos E. R.:
On 2024-08-03 15:46, Ulf via openSUSE Factory wrote:
Also you can sort by "RES" or "SHR".
I will check later, how to enable.
'f'
Yes, in interactive mode, but due to the fact, that on tty I have now copy and past feature. Background Plasma is not reacting at all, so I switch to a tty <strg>+<alt>+<F2> and use there btop and if I need a log something like # top -n 1 | head -n 15 > /tmp/top_$(date +%F_%T).txt
Ah, right, if the terminal is not reactive, using top in interactive mode is a pain.
Fields Management for window 1:Def, whose current sort field is %CPU Navigate with Up/Dn, Right selects for move then <Enter> or Left commits, 'd' or <Space> toggles display, 's' sets sort. Use 'q' or <Esc> to end!
* PID = Process Id OOMs = OOMEM Score current * USER = Effective User Name ENVIRON = Environment vars * PR = Priority vMj = Major Faults delta * NI = Nice Value vMn = Minor Faults delta * VIRT = Virtual Image (KiB) USED = Res+Swap Size (KiB) * RES = Resident Size (KiB) nsIPC = IPC namespace Inode * SHR = Shared Memory (KiB) nsMNT = MNT namespace Inode * SWAP = Swapped Size (KiB) nsNET = NET namespace Inode * S = Process Status nsPID = PID namespace Inode * %CPU = CPU Usage nsUSER = USER namespace Inode * %MEM = Memory Usage (RES) nsUTS = UTS namespace Inode * TIME+ = CPU Time, hundredths LXC = LXC container name * COMMAND = Command Name/Line RSan = RES Anonymous (KiB) PPID = Parent Process pid RSfd = RES File-based (KiB) UID = Effective User Id RSlk = RES Locked (KiB)
OK, that I know, so it is inside of the very big man page of top. I need some time to read it (English is not my natural language and anyhow I need it several times, I was not so familiar with the vocabulary ;-) )
In the case of "top", the above is simply displayed at the pressing of the key "f" (for fields). I have not looked at the man page this time.
Move the cursor around, use 's' to select sort (gets displayed at the end of the first line). 'd' or space activates or deactivates a field. I find "RES" more indicative of ram actually used by a process.
Yes, but mainly I use btop which have slightly different commands.
Ah, I'm not familiar with btop. [...] Mmm, nice graphs.
In the moment the index size is 811.7MiB according plasma systemsettings page.
Some file it was trying to analyze triggered a bug and eat memory. Problem is finding what file. Messages log, perhaps?
Need one of the last day. Or an encrypted file, which was only slightly changed (I use some encfs encrypted folders via kde vault, which will be not always decrypted).
Ulf
-- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Hello, I got a same issue. In the Message; Subject : Since some 3 days - will be slow Message-ID : <21918979.4csPzL39Zc@peterle> Date & Time: Sat, 03 Aug 2024 11:30:24 +0200 [U] == Ulf via openSUSE Factory <factory@lists.opensuse.org> has written: [...] U> 111512 root 20 0 0 0 0 R 87.50 0.000 2:06.69 kworker/u32:2+btrfs-qgroup-rescan U> 598 root 20 0 0 0 0 R 68.75 0.000 30:00.40 btrfs-cleaner U> 5793 ulf 20 0 3354276 146044 11972 S 37.50 0.453 4:39.36 mysqld U> 5748 ulf 20 0 3208872 21800 11096 S 31.25 0.068 2:45.96 akonadiserver [...] Check your installed btrfs packages. Best Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "To hire for skills, firms will need to implement robust and intentional changes in their hiring practices ― and change is hard." -- Employers don’t practice what they preach on skills-based hiring --
participants (5)
-
Carlos E. R.
-
Ernst Persson
-
Lassi Väätämöinen
-
Masaru Nomiya
-
Ulf