Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Update install scripts to avoid memory issues #14

Open
thibaultyou opened this issue Aug 6, 2021 · 0 comments
Open

Update install scripts to avoid memory issues #14

thibaultyou opened this issue Aug 6, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@thibaultyou
Copy link
Owner

thibaultyou commented Aug 6, 2021

sudo dd if=/dev/zero of=/swapfile bs=128M count=32
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon -s
sudo chmod 666 /etc/fstab
sudo echo "/swapfile swap swap defaults 0 0" >> /etc/fstab
sudo chmod 644 /etc/fstab
# sudo echo "512" > /proc/sys/net/core/somaxconn
sudo chmod 666 /etc/sysctl.conf
sudo echo "vm.overcommit_memory = 1" >> /etc/sysctl.conf
sudo sysctl vm.overcommit_memory=1
sudo chmod 644 /etc/sysctl.conf
@thibaultyou thibaultyou added the enhancement New feature or request label Aug 6, 2021
@thibaultyou thibaultyou self-assigned this Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant