
I have Ubuntu 22.04 LTS

probably need 4 gigs of RAM and 4 vCPU's?

seems like the RAM is the issue

Before that

You can try something that will change everything completly
I took it from one of Appwrite's scripts
Run this
fallocate -l 2G /swapfile
ls -lh /swapfile
chmod 600 /swapfile
ls -lh /swapfile
mkswap /swapfile
swapon /swapfile
swapon --show
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

It will create 2GB swap file on your server

Then reboot

okay done, rebooting

And check htop
again you should see two things
- The swap file
- The RAM usage will decrease tremendously


Using a swap file gives a complex docker-compose infrastructures like Appwrite being able to run on 1-2gb ram servers.

amazing, the 4GB of RAM droplet is 48$ a month, not ready for that yet hahahaha

Is it using less RAM now?

sort of?

Yes, that's a leap


Maybe it will take some time But I think that should solved it for now

BTW, Also I'm a very old client of Linode and DigitalOcean, recently started to use Hetzner. They have better pricing and a solid Cloud panel so it my be worth to check it https://www.hetzner.com/cloud

They have servers in USA

ooh interesting

thank you

Last time I checked it out, it was $28 for CPU optimization, unless you select another plan.

RAM not CPU

Yes with 4Gb ram,

Putting that aside, I think what byawitz mentioned above is a big deal 😅
Recommended threads
- Unable to View / Edit Bucket Files
Hi! I am unable to view / edit Bucket Files. While Previews work just fine, clicking the actual file to view or edit it produces the errors seen in the attache...
- How to remove the Sign up link after cre...
Greetings, i just installed appwrite on a VPS and created an account but now i do not want others to have access to the sign-up page. Is there any way to hide o...
- Does self-hosted Appwrite have read cach...
I wanted to switch from local storage to S3 (more specifically Backblaze B2), but I would like to have ~100GB on my VPS as read cache, so most frequently access...
