# Bootstrapping Discourse hangs on Redis "ready to accept connections" on Amazon EC2

**URL:** <https://meta.discourse.org/t/bootstrapping-discourse-hangs-on-redis-ready-to-accept-connections-on-amazon-ec2/27950>\
**Category:** Self-hosting\
**Created:** [2015 年 4 月 25 日午後 4:48 UTC](https://meta.discourse.org/t/bootstrapping-discourse-hangs-on-redis-ready-to-accept-connections-on-amazon-ec2/27950 "2015-04-25T16:48:09Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2015 年 4 月 27 日午後 9:08 UTC](https://meta.discourse.org/t/bootstrapping-discourse-hangs-on-redis-ready-to-accept-connections-on-amazon-ec2/27950/10 "2015-04-27T21:08:19Z")

</div>

> [@dgs](#):
>
> Compressing: admin-88a72cb4270cac72cc81bc19a48017c4.js  
> rake aborted!  
> Errno::ENOMEM: Cannot allocate memory - which  
> /var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.9/lib/active\_support/core\_ext/kernel/agnostics.rb:7:in ``’

Found it.

How much memory? Did you set up swap?

---

_[View the full topic](https://meta.discourse.org/t/bootstrapping-discourse-hangs-on-redis-ready-to-accept-connections-on-amazon-ec2/27950)._
