YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
85 stars 36 forks source link

Prevent swap from being created when running inside a LXC #411

Closed Tagadda closed 1 year ago

Tagadda commented 1 year ago

Problem

Solution

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

Tagadda commented 1 year ago

Hi @rosbeef Can you try to upgrade with this branch ? sudo yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh/tree/dontswapwheninsidelxd --debug

Tagadda commented 1 year ago

!testme

yunohost-bot commented 1 year ago

:rocket: Test Badge

rosbeef commented 1 year ago

I could not upgrade because of totally removed by a not fixed upgrade. But the install process seems to complete successfully

https://paste.yunohost.org/raw/uqabiqugor

Just one comment hardcode memory is not good in my case. Install and usage never use more that 1,5 GB memory on armhf arch.

Tagadda commented 1 year ago

Great!

About the RAM usage, CI shows Peak RAM usage during this test: 1969MB and I add 500MB for "safety".