Discourse-docker run with unicorn memory issue

  1. Pretty old kernel in there, can you run on something a bit more modern?

  2. Pretty old docker version in there, can you update to a supported version?

  3. You are running a web_only container, which will use even less memory than a standalone one. That said, you are running a bunch of custom plugins, who may or not be allocating too much memmory.

  4. Check your OS swapiness, it may be too low.

  5. Your unicorn is reaped. Hard to know why without more logs… Do your custom plugins make requests to outside systems inline? Maybe it’s just timing out?

There are way too many variables in here distancing this from a simple install, so I’d try to reduce those first.