I have a kubuntu system currently running 26.04, upgraded from 25.10
On both releases, the system would hang from time to time. Often when it finally recovered I'd see a message like this

Today by the time it recovered I had 3 of these messages.
AFAIK, Linux is a demand paged operating system. Given this, it did not run out of *memory*, it ran out of virtual memory. Put another way, it ran out of swap space.
I presume therefore that the initial installation of Kubuntu made a bad decision about the total amount of swap space to configure, and *if* linux has a way to add swap space dynamically (and automatically), that ability was not turned on by the installation.
If this analysis is correct, (1) how can I fix the swap space configuration and (2) how do I report the presumed problem with the installation process?
Can it be fixed at all without reinstalling from scratch. (I don't recall whether I was even given an option to configure how my SSDs/disks would be used.)
Alternatively, my knowledge of the linux kernel is out of date, and the old OOM system I knew and didn't much like a decade ago has been replaced with something even worse, such that the amount of RAM in the system effectively limits the amount of swap space usable. I understand that MacOS and iOS compress user process memory in preference to paging it to disk, though MacOS can then page out the compressed memory; iOS on the other hand cannot page out individual pages - it's whole process or nothing. I don't know the motivation for the MacOS variant, but the iOS variant is intended to protect SSDs with a limited number of write cycles available. (The compression mechanism is also faster than paging, but I don't think any user is going to notice.) Perhaps Linux has implemented something similar, now that SSDs are overwhelmingly popular?
Finally, is it just that linux is no longer good at running on "low end" hardware? I "only" have 32 GB of RAM, which I would have expected to be enough, even with a job lot of firefox tabs trying to call home to get more ads, even though they aren't currently on screen. Maybe linux is even more bloated than MacOS, where a 16 GB system only started misbehaving in a similar way about 2 years ago, after the horrible OS upgrade that caused me to start moving from MacOS to linux. (And it just randomly kills the web browser once or twice a week, without a hang, whereas Kbuntu got 3 processes this time, including both Firefox and my mail client.)
On both releases, the system would hang from time to time. Often when it finally recovered I'd see a message like this
Today by the time it recovered I had 3 of these messages.
AFAIK, Linux is a demand paged operating system. Given this, it did not run out of *memory*, it ran out of virtual memory. Put another way, it ran out of swap space.
I presume therefore that the initial installation of Kubuntu made a bad decision about the total amount of swap space to configure, and *if* linux has a way to add swap space dynamically (and automatically), that ability was not turned on by the installation.
If this analysis is correct, (1) how can I fix the swap space configuration and (2) how do I report the presumed problem with the installation process?
Can it be fixed at all without reinstalling from scratch. (I don't recall whether I was even given an option to configure how my SSDs/disks would be used.)
Alternatively, my knowledge of the linux kernel is out of date, and the old OOM system I knew and didn't much like a decade ago has been replaced with something even worse, such that the amount of RAM in the system effectively limits the amount of swap space usable. I understand that MacOS and iOS compress user process memory in preference to paging it to disk, though MacOS can then page out the compressed memory; iOS on the other hand cannot page out individual pages - it's whole process or nothing. I don't know the motivation for the MacOS variant, but the iOS variant is intended to protect SSDs with a limited number of write cycles available. (The compression mechanism is also faster than paging, but I don't think any user is going to notice.) Perhaps Linux has implemented something similar, now that SSDs are overwhelmingly popular?
Finally, is it just that linux is no longer good at running on "low end" hardware? I "only" have 32 GB of RAM, which I would have expected to be enough, even with a job lot of firefox tabs trying to call home to get more ads, even though they aren't currently on screen. Maybe linux is even more bloated than MacOS, where a 16 GB system only started misbehaving in a similar way about 2 years ago, after the horrible OS upgrade that caused me to start moving from MacOS to linux. (And it just randomly kills the web browser once or twice a week, without a hang, whereas Kbuntu got 3 processes this time, including both Firefox and my mail client.)






Comment