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
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...
- No server error on selfhosted appwrite
Please help me, my clients is ask what happen on their data? How can i make it up again?