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
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...