# Discourse-docker run with unicorn memory issue

**URL:** <https://meta.discourse.org/t/discourse-docker-run-with-unicorn-memory-issue/136569>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [December 20, 2019, 2:33am UTC](https://meta.discourse.org/t/discourse-docker-run-with-unicorn-memory-issue/136569 "2019-12-20T02:33:44Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![marvin-min](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marvin-min/32/165573_2.png) [@marvin-min](https://meta.discourse.org/u/marvin-min)\
**Post date:** [December 20, 2019, 4:03am UTC](https://meta.discourse.org/t/discourse-docker-run-with-unicorn-memory-issue/136569/5 "2019-12-20T04:03:49Z")

</div>

@Falco  
Many thanks, Here are the doctor results:

```plaintext
DISCOURSE DOCTOR Fri Dec 20 03:42:31 UTC 2019
OS: Linux int-communityweb-01w.our-internal-domain 3.10.0-1062.7.1.el7.x86_64 #1 SMP Mon Dec 2 17:33:29 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

YML=web_only.yml
Found containers/web_only.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME=int-communityweb-vip.our-internal-domain
SMTP_ADDRESS=our_smtp_server # (mandatory)
DEVELOPER_EMAILS=REDACTED 
SMTP_PASSWORD=REDACTED (optional)
SMTP_PORT=25 # (optional)
SMTP_USER_NAME=# (optional)
LETSENCRYPT_ACCOUNT_EMAIL=REDACTED 

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 17.05.0-ce, build 89658be

DOCKER PROCESSES (docker ps -a)

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e6c7024d0d4b artifacts.our-internal-domain:8080/image/community:99-2.0.20191013-2320-tests-passed-b6b05d3b48-2019-12-16_09-28 "/sbin/boot" 43 hours ago Up 43 hours 0.0.0.0:80->80/tcp web_only
703de08548b0 artifacts.our-internal-domain:8080/image/community:90-2.0.20190625-0946-tests-passed-ac7d68a-2019-08-30_09-36 "/sbin/boot" 4 weeks ago Exited (5) 46 hours ago web_only_bak

Discourse container web_only is running

==================== PLUGINS ====================
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://gitlab.our-internal-domain/community/community-sso-plugin.git
          - git clone https://gitlab.our-internal-domain/community/community-ads-plugin.git
          - git clone --branch upgarde-newrelic-gem https://gitlab.our-internal-domain/community/community-newrelic-plugin.git

WARNING:
You have what appear to be non-official plugins.
If you are having trouble, you should disable them and try rebuilding again.

See https://github.com/discourse/discourse/blob/master/lib/plugin/metadata.rb for the official list.

========================================
Discourse version at int-communityweb-vip.our-internal-domain: Discourse 2.4.0.beta8 
Discourse version at localhost: Discourse 2.4.0.beta8 

==================== MEMORY INFORMATION ====================
OS: Linux
RAM (MB): 1882

              total used free shared buff/cache available
Mem: 1838 1340 66 7 430 306
Swap: 3071 388 2683

==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg00-root 19G 15G 3.3G 82% /
/dev/mapper/vg00-root 19G 15G 3.3G 82% /var/lib/docker/overlay
/dev/mapper/vg00-root 19G 15G 3.3G 82% /

---------- Container Disk Space ----------

==================== DISK INFORMATION ====================

Disk /dev/sda: 21.5 GB, 21474836480 bytes, 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0005c8ec

   Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1050623 524288 83 Linux
/dev/sda2 1050624 16777215 7863296 8e Linux LVM
/dev/sdimage 16777216 41943039 12582912 8e Linux LVM

Disk /dev/mapper/vg00-root: 19.9 GB, 19851640832 bytes, 38772736 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/vg00-swap: 1073 MB, 1073741824 bytes, 2097152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

==================== END DISK INFORMATION ====================

==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Mail test skipped.

==================== DONE! ====================

```

---

_[View the full topic](https://meta.discourse.org/t/discourse-docker-run-with-unicorn-memory-issue/136569)._
