# 1GB RAM同时运行WordPress和Discourse够用吗？

**URL:** <https://meta.discourse.org/t/is-1gb-ram-enough-for-both-wordpress-and-discourse/58141>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [2017 年2 月 28 日 23:23 UTC](https://meta.discourse.org/t/is-1gb-ram-enough-for-both-wordpress-and-discourse/58141 "2017-02-28T23:23:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
发布日期： [2017 年2 月 28 日 23:23 UTC](https://meta.discourse.org/t/is-1gb-ram-enough-for-both-wordpress-and-discourse/58141/1 "2017-02-28T23:23:11Z")

</div>

I noticed a couple of warnings when rebuilding my container:

1. WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
2. WARNING overcommit\_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit\_memory = 1’ to /etc/sysctl.conf and then reboot or run the command sysctl vm.overcommit\_memory=1’ for this to take effect
3. WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command ‘echo never \> /sys/kernel/mm/ transparent\_hugepage/enabled’ as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.

My question: are these just some warnings to be ignored? If they should not be ignored (I do feel that my discourse forum is extremely slow), then what exactly should be done? To start with: are these paths and files that the warnings refer to inside or outside the container? If they’re inside, I have no idea how to manipulate them… 😕

---

_[View the full topic](https://meta.discourse.org/t/is-1gb-ram-enough-for-both-wordpress-and-discourse/58141)._
