Hi all,
Currently, our community has some 60~ registered users, and sometimes it feels like lagging (just opening a topic takes 10 → 20 seconds). Shall I add more memory? or/and more CPU cores?
It’s running on a DigitalOcean droplet with 2 GB Memory / 60 GB Disk / SGP1 - Ubuntu 20.04 (LTS) x64
Here’s what htop output looks like when I feel the lag:
The swap is topped out. That’s not good. Does this improve significantly after rebuilding?
I would almost be tempted to stop your container and reboot the VPS:
./launcher stop app shutdown -r now
One method of decreasing memory use is to reduce the number of Unicorns, but this is set automatically to the recommended number for your VPS out of the box. Have you altered this in app.yml?