planetary-social / ansible-scripts

Ansible automation scripts used at Planetary
MIT License
2 stars 3 forks source link

Make memory limit a dynamic variable #7

Closed zachmandeville closed 1 year ago

zachmandeville commented 1 year ago

At the moment, the start_sbot script has a hard-coded memory limit. Planetary may be hitting this limit and causing the ssb-server to stop or behave erratically. This change sets the limit to a dynamic variable, based ont he total memory of the container minus 200mb. It is modelled after the create-sbot script in ahdinosaur's ssb-server repo

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.