Hot answers tagged swap
This will show the number of open files per process ID: cd /proc for processid in [0-9]* do echo "Process ID = $processid: $(ls /proc/$processid/fd/ | wc -l) file descriptors" done (save and execute with sudo). Then you can track down what that process ID belongs to.
First, remove that entry from /etc/fstab. Then: sudo swapoff /swap.dat # Wait for all resources paged to that swap file to be moved to other swap files or to RAM. sudo rm -f /swap.dat If you remove the file before it is no longer in use, the disk space will remain allocated until swapoff is complete.
I have switched to a standard swap instead of cryptswap using . I did not experienced the issue again. I believe that my cryptswap partition was not being used when the physical memory was 100% used and the system would just crash.  https://www.logilab.org/blogentry/29155
Yep, it must be greater or equal RAM size (let it strictly greater). Partition shrinking needs to move some data blocks. It's up to you to backup or to take the risk. However, 2GB is considered a short time operation, if it is taken from the end of partition (ie sda2). If it was from the beginning of a large partition (example: sda4), my advice forget it. To ...
Only top voted, non community-wiki answers of a minimum length are eligible