# Server specs for multisite

**URL:** https://meta.discourse.org/t/server-specs-for-multisite/29920
**Category:** Self-hosting
**Created:** [June 12, 2015, 10:27am UTC](https://meta.discourse.org/t/server-specs-for-multisite/29920 "2015-06-12T10:27:16Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![tenzan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tenzan/32/42979_2.png) [@tenzan](https://meta.discourse.org/u/tenzan)
#### Post date: [June 12, 2015, 10:27am UTC](https://meta.discourse.org/t/server-specs-for-multisite/29920/1 "2015-06-12T10:27:17Z")

</div>

Recommended environment:

- Dual core CPU recommended

- 1 GB RAM minimum (with swap)

- 64 bit Linux compatible with Docker

What are the minimum specs requirements for multisite discourse?  
If I want to host 2 domains, does it mean I will need at least `2GB RAM` ?  
How about hosting 3 domains?

---

<div class="post-metadata">

### Author: ![tenzan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tenzan/32/42979_2.png) [@tenzan](https://meta.discourse.org/u/tenzan)
#### Post date: [June 12, 2015, 12:25pm UTC](https://meta.discourse.org/t/server-specs-for-multisite/29920/2 "2015-06-12T12:25:36Z")

</div>

I found this [Do I need a VPS for Discourse and do I host the main site on the same server? - #5 by Sander78](https://meta.discourse.org/t/do-i-need-a-vps-for-discourse-and-do-i-host-the-main-site-on-the-same-server/15774/5) and it seems I can host 2-3 discourse sites on 1GB RAM droplet.

Please correct me if I’m mistaken.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 12, 2015, 10:16pm UTC](https://meta.discourse.org/t/server-specs-for-multisite/29920/3 "2015-06-12T22:16:42Z")

</div>

I would not recommend that, no. I’d say 512mb ram _minimum_ for each additional community.

So 1 GB to start with community 1, then + 512mb for community 2, + 512mb for community 3, etc.

---

<div class="post-metadata">

### Author: ![tenzan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tenzan/32/42979_2.png) [@tenzan](https://meta.discourse.org/u/tenzan)
#### Post date: [June 13, 2015, 7:10am UTC](https://meta.discourse.org/t/server-specs-for-multisite/29920/4 "2015-06-13T07:10:50Z")

</div>

Thanks @codinghorror 😄

---

<div class="post-metadata">

### Author: ![Sander78](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sander78/32/296615_2.png) [@Sander78](https://meta.discourse.org/u/Sander78)
#### Post date: [June 17, 2015, 12:50pm UTC](https://meta.discourse.org/t/server-specs-for-multisite/29920/5 "2015-06-17T12:50:55Z")

</div>

> [@tenzan](#):
>
> Please correct me if I’m mistaken.

Note that I said I have very small communities. And I mean _very_ small. So you might want to go with @codinghorror’s advice.

---

<div class="post-metadata">

### Author: ![tenzan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tenzan/32/42979_2.png) [@tenzan](https://meta.discourse.org/u/tenzan)
#### Post date: [June 18, 2015, 3:44am UTC](https://meta.discourse.org/t/server-specs-for-multisite/29920/6 "2015-06-18T03:44:27Z")

</div>

Let’s say, if I use 2GB droplet, for 2-3 sites, do you recommend to have 2GB swap as well?

---

<div class="post-metadata">

### Author: ![Sander78](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sander78/32/296615_2.png) [@Sander78](https://meta.discourse.org/u/Sander78)
#### Post date: [June 18, 2015, 12:11pm UTC](https://meta.discourse.org/t/server-specs-for-multisite/29920/7 "2015-06-18T12:11:12Z")

</div>

If I’m not mistaken the recommended size for swap is always the RAM size. But hey, Google is my friend and I found this:

[http://wiki.linuxquestions.org/wiki/Partitioning\_guidelines](http://wiki.linuxquestions.org/wiki/Partitioning_guidelines)

From the _Swap space_ paragraph:

> Almost every Linux system will need swap space. The classic piece of advice is “swap should be double the amount of RAM you have”, though this is not a rigid guideline. Another guideline is to have at least 1x your RAM size, but this also isn’t a fixed, absolute requirement (this used to be necessary for linux, but not anymore for recent versions). It depends mainly on what applications you want to run. Applications like video/movie editing, 3d rendering, large image editing, database servers and web application servers can use a lot of memory and if you don’t have that as RAM, it will need a large swap space.

---

<div class="post-metadata">

### Author: ![tenzan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tenzan/32/42979_2.png) [@tenzan](https://meta.discourse.org/u/tenzan)
#### Post date: [June 18, 2015, 12:29pm UTC](https://meta.discourse.org/t/server-specs-for-multisite/29920/8 "2015-06-18T12:29:06Z")

</div>

> [@Sander78](#):
>
> If I’m not mistaken the recommended size for swap is always the RAM size.

I was wondering if there is some Discourse-specific requirements.

Otherwise, from my experience, it was always recommended `swap size = RAM x 2` 😄  
At least from my experience.
