Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

[Software] Sleep failed despite having 2x the amount of RAM as swap space

$
0
0

Code:

█[debian-x1-7th][dotfiles][0]$ free -h               total        used        free      shared  buff/cache   availableMem:            15Gi       4.4Gi       9.3Gi       430Mi       2.3Gi        10GiSwap:           31Gi       886Mi        31Gi
I noticed I had two swap files and that the smaller one had higher priority, so I removed it:

Code:

█[debian-x1-7th][dotfiles][1]$ sudo swapon -sFilename                                Type            Size            Used            Priority/dev/dm-2                               partition       999420          908284          -2/swap.file                              file            32505852        0               -3
But I now I get this "function is not implemented" error:

Code:

█[debian-x1-7th][dotfiles][1]$  sudo /usr/lib/systemd/systemd-sleep hibernateFailed to find location to hibernate to: Function not implemented
At least earlier the display would turn off for a few seconds before coming back on to display the "No space left on device" error, but now it does not even appear to attempt sleep.

Is it because my swap space is based out of a file, do I need a dedicated swap partition?

Statistics: Posted by ealfonsoy — 2024-06-09 23:06 — Replies 3 — Views 38



Viewing all articles
Browse latest Browse all 3474

Trending Articles