As the title says. Since switching to Linux (and actually probably the main thing that prevented me from switching right away many years ago), the system has crashed upwards of 100 times, with data loss each time (usually lost work browsing pages, but sometimes sensitive and important mounted encryption volume file loss).
How does Windows accomplish not running out of free space for it's display? Linux has better uptime stability RAM-wise and for the root system, but these disk storage crashes for the user are a problem. There is a low space notification, but it can be too late or unseen.
Here are a couple subquestions and observations that could be helpful to find the best solution:
- Is it Xorg that crashes the user's applications because of "No space left on device"
Could a similar scheme to the 5% system reserved space be used? Reserved space for root on a filesystem - why? ..aparently uses tune2fs and has a set user option
For Kubuntu, after clearing space and switching back to tty1, there is an error regarding 'cannot find xrunner..' and the session terminates. I checked before that from tty2 and Chromium, etc had crashed. Then when clicking on the error message it crashes the user profile again back out to the SDDM greeter.
- I've used AND: Auto Nice Daemon to tame the RAM and/or swap freezes, could something like ionice be used similarly: How to prevent dd from freezing my system?
- Maybe limiting any single process to filling 90% of the free space, stopping it and warning when it does, seems like a logical solution. If so, why is this not already done? It could be disabled if an advanced user really wants that extra 10% of space and risk freezing the User GUI. I realize Linux can run on tiny disks, but this is Ubuntu, trying to be a real Desktop.