ansible-swapfile icon indicating copy to clipboard operation
ansible-swapfile copied to clipboard

Despite Default Role 489M Swap size shown

Open jasperf opened this issue 7 years ago • 0 comments

I just set up swap using the default which should be 512MB

---
swapfile_location: /swapfile
swapfile_size: 512MB
swapfile_swappiness: False
swapfile_vfs_cache_pressure: False
swapfile_use_dd: False

But when I check my Digital Ocean Ubuntu 17.4. 64 bits droplet I see 488 kilobits:

root@larastudio:~# swapon -s
Filename				Type		Size	Used	Priority
/swapfile                              	file    	499996	0	-1

And when I run ls -lh /swapfile I get less than 512MB or 489:

root@larastudio:~# ls -lh /swapfile
-rw------- 1 root root 489M Jun 14 09:36 /swapfile

Any ideas why?

jasperf avatar Jun 14 '17 09:06 jasperf