OpenSUSE with slowness and crashes

I’m having serious problems with slowness and crashes on all machines that use opensuse. I use 15.1 and also older Leap on older machines.
This problem is getting serious and older machines, which have 2M of memory. They are becoming difficult to use.
The curious thing is that just a few months ago, everything worked well.
Even this machine I’m using now with 4M of memory and Leap 15.1 is slow and almost always crashes.
There is something that can be done to solve this problem.

What do the following report?


Please show your repos

zypper lr -d

2M or 4M - possibly 2 or 4 Gigabytes, not megabytes?

Please list all your hardware.

Possibly machines have no swap or using BTRFS with old hardware.

Limited space on / partition can cause this. Space gobblers in aging installations, in no particular order, include:

  • /var/log/journal/
  • /var/cache/zypp/packages/
  • BTRFS snapshots
  • purge-kernels service not working (each installed kernel is roughly 300MB+)

Do many of these limited RAM PCs have aging HDs with large uptimes? It might be worth running ‘smartctl -t l’ on them to see if any are suffering from bad sector reallocations. Running memtest86 overnight or longer couldn’t hurt either. Aging RAM does occasionally loose a bit or more and cause crashing.


Or, “free -h”.

Consider taking a look at:

journalctl --disk-usage
systemctl status btrfs-balance.service
systemctl status btrfs-balance.timer
systemctl status btrfs-scrub.service
systemctl status btrfs-scrub.timer
systemctl status systemd-tmpfiles-clean.service
systemctl status systemd-tmpfiles-clean.timer

If the Btrfs and the “tmpfiles” housekeeping hasn’t been executed for a while then:

systemctl start btrfs-balance.service
systemctl start btrfs-scrub.service
systemctl start systemd-tmpfiles-clean.service