مرحباً بالجميع،
حالياً، يحتوي مجتمعنا على حوالي 60 مستخدمًا مسجلاً، وأحيانًا نشعر بتباطؤ (فقط فتح موضوع يستغرق من 10 إلى 20 ثانية). هل يجب أن أزيد من الذاكرة؟ أم/وأن أزيد من أنوية المعالج؟
يعمل النظام على خادم DigitalOcean droplet بـ 2 جيجابايت من الذاكرة / 60 جيجابايت من القرص / SGP1 - Ubuntu 20.04 (LTS) x64.
إليك مظهر مخرجات htop عندما أشعر بالتباطؤ:

إليك إحصائيات الخادم من آخر 7 أيام:
وهذه هي عدد مرات مشاهدة الصفحات من آخر 7 أيام:
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?
You could trying lowering this number:
UNICORN_WORKERS: 4
and rebuilding.
4 إعجابات