NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
62 stars 20 forks source link

Setup swap space in VM images #6824

Closed DavidePrincipi closed 7 months ago

DavidePrincipi commented 8 months ago

When the NS8 image is instantiated in a VM the resulting system has no swap space configured. In many cases the VM is allocated few memory and the system becomes quickly unstable.

Proposed solution

Test this solution to configure a simple swap file on the first boot of the VM image

https://www.redhat.com/sysadmin/cloud-swap

Alternative solution

Fixed 4GB swap file

PR: https://github.com/NethServer/ns8-images/pull/7


Discussion https://mattermost.nethesis.it/nethesis/pl/yey4x56tipbi3qjk96ehx1g5uy

DavidePrincipi commented 7 months ago

VERIFIED