Skip to content

Create and delete swap file automaticly based on memory pressure.

Notifications You must be signed in to change notification settings

brolerliew/autoswap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

This is issue and release only repo.

What

Autoswap create and delete swap file automaticly based on memory pressure. No need to modify /etc/fstab

Support NVME, Hard Disk, Virtio Disk.

The Debian release package is self contained, donot need any denpendency, including libc and runtime ld.

Why

Swapfile on Linux must be created and deleted manually. This often happen in memory limited environment, for example VPS.

When buy a cloud VM or a Raspebeery PI, memory and disk is all limited. Swapfile is often essencial for these scenes.

But we have to create swapfile manully when needed. If not enough, create more. If go beyond, the disk space is wasted.

So, we need create and delete swapfile automaticly.

How

  1. download latest debian package
  2. dpkg -i autoswap.deb
  3. nohup /opt/autoswap/autoswap &

About

Create and delete swap file automaticly based on memory pressure.

Resources

Stars

Watchers

Forks

Packages