Running Ubuntu 18.04 without issue, the system started getting sluggish last evening before eventually starting to throw lack of memory errors running simple commands (eg, cd
) on the command line.
I tried restarting expecting it would clear temporary memory, but haven't been able to get back into the system. Assorted attempts to turn swap off and on again, running fsck
to check for errors, as well as clear
and dpkg
within recovery mode didn't fix the issue.
I'm wondering if there's any downside to simply deleting the swapfile in question (picture of the offending taken via recovery terminal below), and recreating to deal with the issue? Any suggestions on addressing this otherwise.
I have access to recovery mode as well as an openSUSE live disk (from which I'm currently working) to effect changes.
/etc/fstab
entry accordingly. Having partitions (or a swap file) configured there which no longer exists (or has a changed identifier) will prevent your system from booting too.df -h
to show how full the mounted partitions are? If e.g. /tmp or your root partition runs full that might cause similar error messages, and it could persist across reboots (in case of /tmp at least if it is not mounted as tmpfs). Swap should not show any persistent behaviour.du
and eventually tracked down a few larger files I could delete to make sufficient space for boot. good to go now, thank you.