# Normal RAM Usage

**URL:** https://meta.discourse.org/t/normal-ram-usage/50630
**Category:** Support
**Created:** [September 25, 2016, 5:13pm UTC](https://meta.discourse.org/t/normal-ram-usage/50630 "2016-09-25T17:13:27Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![dustinmatlock](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dustinmatlock/32/78358_2.png) [@dustinmatlock](https://meta.discourse.org/u/dustinmatlock)
#### Post date: [September 25, 2016, 5:13pm UTC](https://meta.discourse.org/t/normal-ram-usage/50630/1 "2016-09-25T17:13:27Z")

</div>

Hello, I have Discourse installed on DigitalOcean. I see the minimum requirements are 1 GB of RAM, although it seems my server is using more than expected. Any thoughts, is this normal? Thanks!

 ![](https://global.discourse-cdn.com/meta/original/3X/0/3/030b4d974577d75f10d2d40a7e657984e761b729.jpg)

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [September 26, 2016, 5:26am UTC](https://meta.discourse.org/t/normal-ram-usage/50630/2 "2016-09-26T05:26:55Z")

</div>

What about that screenshot do you consider to be abnormal?

---

<div class="post-metadata">

### Author: ![dustinmatlock](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dustinmatlock/32/78358_2.png) [@dustinmatlock](https://meta.discourse.org/u/dustinmatlock)
#### Post date: [September 26, 2016, 1:10pm UTC](https://meta.discourse.org/t/normal-ram-usage/50630/3 "2016-09-26T13:10:13Z")

</div>

Hi Matt, I don’t know if you had a chance to read the rest of what I wrote, but I read somewhere Discourse only requires 1 GB of RAM. If that’s the case, it seems my installation is using more than expected. I don’t have any users yet. Before restarting the server, some of the swap memory was being used as well. Perhaps I didn’t know Discourse needed so much memory, and that was my question: are these normal results? Most of the allotted memory is being used. Thanks!

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [September 26, 2016, 2:43pm UTC](https://meta.discourse.org/t/normal-ram-usage/50630/4 "2016-09-26T14:43:52Z")

</div>

Check the existing topic below

> [@Oddly high RAM usage with Discourse?](https://meta.discourse.org/t/oddly-high-ram-usage-with-discourse/49147):
>
> Hi, I’m running a virtual private server with Discourse installed through Ubuntu 16.04 LTS. Right now there’s no traffic (there’s probably two or three people on the site right now for beta testing) and the RAM usage for the server is already at 1.85GB. I’m running a server with only 2GB of RAM in it and I fear that when the site actually gets traffic the RAM will completely max out and the server will crash or severely slow down. Is this something to be worried about? I only have Discourse and …

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [September 26, 2016, 4:53pm UTC](https://meta.discourse.org/t/normal-ram-usage/50630/5 "2016-09-26T16:53:44Z")

</div>

Yes, that’s normal.

What you can do is tune down the unicorn workers number. In one instance I have:

- 280MB per unicorn worker

- 200MB sidekiq

- 180MB unicorn master

I guess going from 4 workers to 2 can shave you some memory.

PS: I’m assuming that you are running a ghost town, when you get more users revisit this.

---

<div class="post-metadata">

### Author: ![dustinmatlock](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dustinmatlock/32/78358_2.png) [@dustinmatlock](https://meta.discourse.org/u/dustinmatlock)
#### Post date: [September 26, 2016, 5:21pm UTC](https://meta.discourse.org/t/normal-ram-usage/50630/6 "2016-09-26T17:21:30Z")

</div>

Thank you. Your response has been the most helpful. Any advice on getting it working on Linode – maybe even how to migrate the forum? Linode uses a different kernel, so it’s going to be a manual installation, and the kernel has to be switched as well. I can get double the memory with less storage on Linode instead of DigitalOcean, and the performance is also better.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [September 26, 2016, 6:29pm UTC](https://meta.discourse.org/t/normal-ram-usage/50630/7 "2016-09-26T18:29:28Z")

</div>

I have followed this guide soem months ago, and it worked fine:

> [@Install Docker with AUFS on Linode](https://meta.discourse.org/t/how-to-install-docker-with-aufs-on-linode/39831):
>
> The [30-minute Discourse installation guide](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) assumes you’ll be using Digital Ocean and makes no mention of an important requirement for Docker: If you use another hosting provider, you should really make sure that a Linux kernel feature called “[AUFS](https://docs.docker.com/engine/userguide/storagedriver/aufs-driver/)” is supported. Docker not using AUFS can cause [terrible pain](https://meta.discourse.org/t/cant-install-discourse-with-only-10-gb-disk-run-out-of-space/29149/37). If you want to use Linode, here’s how to enable AUFS support in Ubuntu (for other OSes, refer to [Linode’s guide](https://www.linode.com/docs/tools-reference/custom-kernels-distros/run-a-distribution-supplied-kernel-with-kvm) and update the instructions below accordingly: Create the Linode and pic…

However, keep in mind that people have some concerns with Linode security:

> <https://twitter.com/codinghorror/status/760707378824220672>

* * *

About migration, it’s easy. After having Discourse running in both servers, backup from old, restore on new.

---

<div class="post-metadata">

### Author: ![dustinmatlock](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dustinmatlock/32/78358_2.png) [@dustinmatlock](https://meta.discourse.org/u/dustinmatlock)
#### Post date: [September 26, 2016, 7:08pm UTC](https://meta.discourse.org/t/normal-ram-usage/50630/8 "2016-09-26T19:08:11Z")

</div>

I saw that tutorial, but it’s hard for me to use something where the person who wrote it doesn’t understand what’s going on. Here’s another resource I might try. Thanks for the help!

[http://crunchify.com/how-to-setup-discourse-org-forum-on-linode-correct-way-tested-and-verified-steps/](http://crunchify.com/how-to-setup-discourse-org-forum-on-linode-correct-way-tested-and-verified-steps/)

---

<div class="post-metadata">

### Author: ![dustinmatlock](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dustinmatlock/32/78358_2.png) [@dustinmatlock](https://meta.discourse.org/u/dustinmatlock)
#### Post date: [September 26, 2016, 11:03pm UTC](https://meta.discourse.org/t/normal-ram-usage/50630/9 "2016-09-26T23:03:10Z")

</div>

In regards to the security issue, I think [this article](https://blog.linode.com/2016/02/19/security-investigation-retrospective/) on Linode’s blog may have a few answers.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:45pm UTC](https://meta.discourse.org/t/normal-ram-usage/50630/10 "2024-06-08T12:45:22Z")

</div>

This topic was automatically closed after 2812 days. New replies are no longer allowed.
