# כמה CPU וזיכרון אני צריך לקהילה עם פחות מ-100 אנשים?

**URL:** https://meta.discourse.org/t/how-much-cpu-and-memory-do-i-need-for-community-with-less-than-100-people/168734
**Category:** Self-hosting
**Tags:** server-resources
**Created:** [30 באוקטובר,‏ 2020,‏ 11:25am UTC](https://meta.discourse.org/t/how-much-cpu-and-memory-do-i-need-for-community-with-less-than-100-people/168734 "2020-10-30T11:25:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Zolbayar\_Bayarsaikha](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zolbayar_bayarsaikha/32/181110_2.png) [@Zolbayar\_Bayarsaikha](https://meta.discourse.org/u/Zolbayar_Bayarsaikha)
#### Post date: [30 באוקטובר,‏ 2020,‏ 11:25am UTC](https://meta.discourse.org/t/how-much-cpu-and-memory-do-i-need-for-community-with-less-than-100-people/168734/1 "2020-10-30T11:25:41Z")

</div>

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:

![image](https://global.discourse-cdn.com/meta/original/3X/4/b/4bfa951f8df40fd312d6b65cbaea770892ebcfb7.png)

Here’re the droplet stats from the last 7 days:

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/a/ea7812c1ed2210c3aeec095909b37b2b226b0402.png)  
 ![image](https://global.discourse-cdn.com/meta/original/3X/b/1/b1efc7cf95cae860c1621d228156e1591da4e44f.png)  
 ![image](https://global.discourse-cdn.com/meta/original/3X/e/3/e33d63e1007de90c2fc1454c98e5779cd6818b99.png)

Here are pageviews from the last 7 days:

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/5/95011580d2f79f6b73f68fa9eb139fee82260a69.png)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [30 באוקטובר,‏ 2020,‏ 11:48am UTC](https://meta.discourse.org/t/how-much-cpu-and-memory-do-i-need-for-community-with-less-than-100-people/168734/2 "2020-10-30T11:48:21Z")

</div>

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:

```plaintext
UNICORN_WORKERS: 4

```

and rebuilding.
